MCPcopy
hub / github.com/pixijs/pixi-react / EditorProps

Interface EditorProps

docs/src/components/Editor/Editor.tsx:10–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8import { useColorMode } from '@docusaurus/theme-common';
9
10export 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
23const v7Dependencies = {
24 'pixi.js': '^7',

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected