1.2.17 • Published 2 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
2 years ago
1.2.17
2 years ago
1.2.15
2 years ago
1.2.14
2 years ago
1.2.13
2 years ago
1.2.12
2 years ago
1.2.11
2 years ago
1.2.10
2 years ago
1.2.9
2 years ago
1.2.7
2 years ago
1.2.8
2 years ago
1.2.6
2 years ago
1.2.5
2 years ago
1.2.4
2 years ago
1.2.2
2 years ago
1.2.1
2 years ago
1.2.0
2 years ago
1.0.14
2 years ago
1.0.13
2 years ago
1.0.12
2 years ago
1.0.11
2 years ago
1.0.10
2 years ago
1.0.9
2 years ago
1.0.8
2 years ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago