| 8 | const logger = createScopedLogger('CodeBlock'); |
| 9 | |
| 10 | interface CodeBlockProps { |
| 11 | className?: string; |
| 12 | code: string; |
| 13 | language?: BundledLanguage | SpecialLanguage; |
| 14 | theme?: 'light-plus' | 'dark-plus'; |
| 15 | disableCopy?: boolean; |
| 16 | } |
| 17 | |
| 18 | export const CodeBlock = memo( |
| 19 | ({ className, code, language = 'plaintext', theme = 'dark-plus', disableCopy = false }: CodeBlockProps) => { |
nothing calls this directly
no outgoing calls
no test coverage detected