react-json-schema-editor-antd
TypeScript icon, indicating that this package has built-in type declarations

1.2.9 • Public • Published

react-json-schema-editor-antd

NPM version NPM downloads

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

Arco Design 风格:https://github.com/lin-mt/json-schema-editor-arco

Usage

npm install react-json-schema-editor-antd
import { useState } from 'react';
import JsonSchemaEditor from 'react-json-schema-editor-antd';

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

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

# Locally preview the production build.
$ yarn run docs:preview

# check your project for potential problems
$ yarn run doctor

LICENSE

MIT

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.2.90latest

Version History

VersionDownloads (Last 7 Days)Published
1.2.90
1.2.846
1.2.749
1.2.649
1.2.553
1.2.48
1.2.36
1.2.26
1.2.15
1.2.05
1.1.94
1.1.84
1.1.74
1.1.64
1.1.54
1.1.44
1.1.34
1.1.24
1.1.14
1.1.05
1.0.95
1.0.84
1.0.74
1.0.64
1.0.51
1.0.41
1.0.32
1.0.22
1.0.12
1.0.00

Package Sidebar

Install

npm i react-json-schema-editor-antd

Weekly Downloads

293

Version

1.2.9

License

MIT

Unpacked Size

773 kB

Total Files

86

Last publish

Collaborators

  • xbw19975