1.3.0 • Published 4 years ago
json-schema-editor-tool v1.3.0
json-schema-editor-visual
The main package https://github.com/YMFE/json-schema-editor-visual is no longer maintain so I move it to the new place for improving and fixing bug!
A json-schema editor of high efficient and easy-to-use, base on React.
Usage
npm install json-schema-editor-tool
const option = {};
import "antd/dist/antd.css";
require("json-schema-editor-tool/dist/main.css");
const schemaEditor = require("json-schema-editor-tool/dist/main.js");
const SchemaEditor = schemaEditor(option);
render(<SchemaEditor />, 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 |
1.3.0
4 years ago
1.2.9
4 years ago
1.2.8
4 years ago
1.2.7
4 years ago
1.2.6
4 years ago
1.2.5
4 years ago
1.2.4
4 years ago
1.2.3
4 years ago
1.2.2
4 years ago
1.2.1
4 years ago
1.1.9
4 years ago
1.1.8
4 years ago
1.1.7
4 years ago
1.1.6
4 years ago
1.1.5
5 years ago
1.1.4
5 years ago
1.1.3
5 years ago
1.1.1
5 years ago
1.0.0
5 years ago