A React Typescript wrapper for jsoneditor by josdejong.
npm install react-jsoneditor-wrapperjavascript
import ReactJSONEditor from "react-jsoneditor-wrapper";
`
To use
$3
Create an element with properties:
`javascript
(this.jsoneditorref = ref)} />
`
If you prefer you can use text instead of a json object. Text will be parsed in to a JSOn object:
`javascript
(this.jsonEditorRef = ref)} text={this.state.content} name="properties" mode="code" modes={["code"]}/>
``