MCPcopy Index your code
hub / github.com/ritz078/transform / EditorPanelProps

Interface EditorPanelProps

components/EditorPanel.tsx:19–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17import { useDropzone } from "react-dropzone";
18
19export interface EditorPanelProps {
20 editable?: boolean;
21 language?: string;
22 defaultValue: string;
23 title: React.ReactNode;
24 hasCopy?: boolean;
25 hasPrettier?: boolean;
26 id: string | number;
27 onChange?: (value: string) => void;
28 hasLoad?: boolean;
29 hasClear?: boolean;
30 settingElement?: (args: { toggle: () => void; open: boolean }) => JSX.Element;
31 alertMessage?: React.ReactNode;
32 topNotifications?: (args: {
33 toggleSettings: () => void;
34 isSettingsOpen: boolean;
35 }) => React.ReactNode;
36 previewElement?: (value: string) => React.ReactNode;
37 acceptFiles?: string | string[];
38 packageDetails?: {
39 name: string;
40 url: string;
41 };
42}
43
44const Monaco = dynamic(() => import("../components/Monaco"), {
45 ssr: false

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…