react-json-schema-editor-antd
Version:
Json Schema Editor
17 lines (16 loc) • 573 B
TypeScript
import { OnChange } from '@monaco-editor/react';
import { ReactElement } from 'react';
interface QuietEditorProp {
width?: string | number;
height?: string | number;
value?: string;
language?: string;
readOnly?: boolean;
lineNumbers?: 'on' | 'off' | 'relative' | 'interval';
folding?: boolean;
renderLineHighlight?: 'all' | 'line' | 'none' | 'gutter';
onChange?: OnChange;
handleEditorDidMount?: (editor: any, monaco: any) => void;
}
declare const MonacoEditor: (props: QuietEditorProp) => ReactElement;
export default MonacoEditor;