| 17 | import { useDropzone } from "react-dropzone"; |
| 18 | |
| 19 | export 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 | |
| 44 | const Monaco = dynamic(() => import("../components/Monaco"), { |
| 45 | ssr: false |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…