import 'ace-builds/src-noconflict/mode-json'; import 'ace-builds/src-noconflict/theme-dracula'; import type { HTMLAttributes } from 'react'; import AceEditor from 'react-ace'; interface JSONEditorProps extends HTMLAttributes { name: string; value: string; onUpdate: (value: string) => void; } const JSONEditor = ({ name, value, onUpdate, onBlur }: JSONEditorProps) => { return (
); }; export default JSONEditor;