UNPKG

@jsoneditor/react

Version:

React wrapper of https://github.com/josdejong/jsoneditor

14 lines (10 loc) 370 B
import { Mode as Mode$1, JSONEditorPropsOptional } from 'vanilla-jsoneditor'; export { JSONValue } from 'vanilla-jsoneditor'; import { FC } from 'react'; import { Overwrite } from 'utility-types'; type Mode = keyof typeof Mode$1; type Props = Overwrite<JSONEditorPropsOptional, { mode?: Mode; }>; declare const JsonEditor: FC<Props>; export { JsonEditor, Mode };