1.2.17 • Published 3 years ago
json-schema-editor-visual-yc v1.2.17
json-schema-editor-visual
A json-schema editor of high efficient and easy-to-use, base on React.
Usage
npm install json-schema-editor-visual-yc
const option = {}
import 'antd/dist/antd.css'
require('json-schema-editor-visual-yc/dist/main.css')
const schemaEditor = require("json-schema-editor-visual-yc/dist/main.js");
const SchemaEditor = schemaEditor(option)
render(
<SchemaEditor />,
document.getElementById('root')
)
Option Object
name | desc | default |
---|---|---|
lang | 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 |
Features
- Languages syntax config optimization
- Provide isAllowJson prop
- Provide isAllowSetting prop
- Provide isMockDisabled prop
- Provide isInputDisabled prop
- Fix mock function error when in production mode
- Fix react version conflict
- others ...
Links
1.2.16
3 years ago
1.2.17
3 years ago
1.2.15
3 years ago
1.2.14
3 years ago
1.2.13
3 years ago
1.2.12
3 years ago
1.2.11
3 years ago
1.2.10
3 years ago
1.2.9
3 years ago
1.2.7
3 years ago
1.2.8
3 years ago
1.2.6
3 years ago
1.2.5
3 years ago
1.2.4
3 years ago
1.2.2
3 years ago
1.2.1
3 years ago
1.2.0
3 years ago
1.0.14
3 years ago
1.0.13
3 years ago
1.0.12
3 years ago
1.0.11
3 years ago
1.0.10
3 years ago
1.0.9
3 years ago
1.0.8
3 years ago
1.0.7
3 years ago
1.0.6
3 years ago
1.0.5
3 years ago
1.0.4
3 years ago
1.0.3
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago