Skip to content

lin-mt/json-schema-editor-arco

Repository files navigation

json-schema-editor-arco

NPM version NPM downloads

Antd Design 风格 https://github.com/lin-mt/json-schema-editor-antd

Arco Design 风格的 Json Schema 可视化编辑器。

Usage

npm install @flodejs/json-schema-editor-arco
import { useState } from 'react';
import JsonSchemaEditor from '@flodejs/json-schema-editor-arco';

export default () => {
  const [jsonSchema, setJsonSchema] = useState();
  return (
    <JsonSchemaEditor
      value={jsonSchema}
      onChange={(schema) => {
        setJsonSchema(schema);
      }}
    />
  );
};

Development

# install dependencies
$ yarn install

# develop library by docs demo
$ yarn start

# build library source code
$ yarn run build

# build library source code in watch mode
$ yarn run build:watch

# build docs
$ yarn run docs:build

# check your project for potential problems
$ yarn run doctor

LICENSE

MIT

About

Json Schema Editor (acro)

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages