# json-schema-editor-visual **Repository Path**: fushengruomeng13/json-schema-editor-visual ## Basic Information - **Project Name**: json-schema-editor-visual - **Description**: A json-schema editor of high efficient and easy-to-use, base on React. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-08-12 - **Last Updated**: 2021-08-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # json-schema-editor-visual A json-schema editor of high efficient and easy-to-use, base on React. ![avatar](json-schema-editor-visual.jpg) ## Usage ``` npm install json-schema-editor-visual ``` ```js const option = {} import 'antd/dist/antd.css' require('json-schema-editor-visual/dist/main.css') const schemaEditor = require("json-schema-editor-visual/dist/main.js"); const SchemaEditor = schemaEditor(option) render( , document.getElementById('root') ) ``` ## Option Object | name | desc | default | | ---- | ----------- | --------- | | `lg` | language, support `en_US` or `zh_CN` | en_US ## SchemaEditor Props | name | type | default | desc | ---- | ----------- | --------- | --------- | | `data` | string | null | the data of editor | `onChange`| function | null | | `showEditor` | boolean | false | ## Links https://github.com/zyqwst/json-schema-editor-vue