UNPKG

solive-core

Version:

Solidity Monaco Editor Core Library

34 lines 971 B
/// <reference types="react" /> import BaseMonaco from 'monaco-editor'; import { ModelInfoType } from '../types/monaco'; export type TConsoleProps = { defaultVisible?: boolean; defaultHeight?: string; minHeight?: number; triggerControl?: boolean; open?: boolean; }; export type TDeployProps = { defaultVisible?: boolean; defaultWidth?: string; minWidth?: number; maxWidth?: number; open?: boolean; }; export type TFileNavProps = { open?: boolean; }; export type TEditorProps = { id: string; modelInfos: ModelInfoType[]; height: string; disableValidation?: boolean; fileNav?: TFileNavProps; rounded?: string; console?: TConsoleProps; deploy?: TDeployProps; monacoEditorOptions?: BaseMonaco.editor.IStandaloneEditorConstructionOptions; children?: any; }; export default function Editor(props: TEditorProps): JSX.Element; //# sourceMappingURL=index.d.ts.map