| 7 | } |
| 8 | |
| 9 | export interface CodeBlock extends Element { |
| 10 | id: string |
| 11 | type: typeof CODEBLOCK_KEY |
| 12 | code: string |
| 13 | language?: string |
| 14 | tabSize?: number |
| 15 | lineWrapping?: boolean |
| 16 | theme?: 'light' | 'dark' |
| 17 | } |
| 18 | |
| 19 | export const CodeBlock = { |
| 20 | isCodeBlock: (value: any): value is CodeBlock => { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…