| 8 | import { useColorMode } from '@docusaurus/theme-common'; |
| 9 | |
| 10 | export interface EditorProps |
| 11 | { |
| 12 | viewType?: 'both' | 'editor' | 'preview'; |
| 13 | showConsole?: boolean; |
| 14 | width?: number | string; |
| 15 | height?: number | string; |
| 16 | version?: 'v7' | 'v8'; |
| 17 | dependencies?: Record<string, string>; |
| 18 | files?: Record<string, { code: string; hidden?: boolean; active?: boolean } | string>; |
| 19 | fontSize?: number; |
| 20 | handleEditorCodeChanged?: (nextSourceCode: string | undefined) => void; |
| 21 | } |
| 22 | |
| 23 | const v7Dependencies = { |
| 24 | 'pixi.js': '^7', |
nothing calls this directly
no outgoing calls
no test coverage detected