Skip to content

liuwei0514/react-jsonschema-editor

 
 

Repository files navigation

json-schema-editor-visual

  • A json-schema editor of high efficient and easy-to-use, base on React.
  • json-schema-editor-visual基础上修改
  • 增加了加载 ref 定义的功能 支持 JSON schema 的类型定义

avatar

Usage

yarn add @leslieliu/react-jsonschema-editor
import schemaEditor from '@leslieliu/react-jsonschema-editor/dist/main.js';
const SchemaEditor = schemaEditor({});

<SchemaEditor
  showEditor={true}
  isMock={false}
  data={''}
  onChange={(e) => {
    console.log('changeValue', e);
  }}
/>

Links

https://github.com/liuwei0514/react-jsonschema-editor

About

A json-schema editor of high efficient and easy-to-use, base on React.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 94.9%
  • CSS 4.4%
  • HTML 0.7%