fix(ui): allow deep import for react-syntax-highlighter styles
This commit is contained in:
parent
bdacc7142e
commit
07b23e6ef6
1 changed files with 1 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import { cn } from '@tpmjs/utils/cn';
|
||||
import { forwardRef, useState } from 'react';
|
||||
import { Prism as SyntaxHighlighter } from 'react-syntax-highlighter';
|
||||
// eslint-disable-next-line import/no-internal-modules -- react-syntax-highlighter requires deep import for styles
|
||||
import { prism, vscDarkPlus } from 'react-syntax-highlighter/dist/esm/styles/prism';
|
||||
import { Icon } from '../Icon/Icon';
|
||||
import type { CodeBlockProps } from './types';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue