1.0.2 • Published 1 year ago
@saasquatch/json-schema-editor-visual v1.0.2
SaaSquatch Json Schema Editor
Installing via NPM
npm install @saasquatch/json-schema-editor-visual
Getting Started
import "antd/dist/antd.css";
import "@saasquatch/json-schema-editor-visual/dist/index.css";
import createEditor from "@saasquatch/json-schema-editor-visual";
const SchemaEditor = createEditor();
const SchemaEditorView = () => {
return (
<>
<SchemaEditor />
</>
);
};
The schema editor is designed to be compatible with JSON Schema version draft-06. Visit the JSON Schema Website to learn more.
Schema Editor Props
name | type | default | description |
---|---|---|---|
data | string | null | the data of editor |
onChange | function | null | the function triggered when changes to the editor's data occur |
Acknowledgements
Forked from YMFE.
1.0.2
1 year ago
1.0.1
4 years ago
1.0.0
4 years ago
1.0.0-beta.3
4 years ago
1.0.0-beta.2
4 years ago
1.0.0-beta.1
4 years ago
1.0.0-beta.0
4 years ago