@quiet-front-end/json-schema-editor-antd
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

@quiet-front-end/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 @quiet-front-end/json-schema-editor-antd
import { useState } from 'react';
import JsonSchemaEditor from '@quiet-front-end/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.0.09latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.09
0.3.00
0.2.30
0.2.00
0.1.160
0.1.150
0.1.140
0.1.130
0.1.120
0.1.110
0.1.100
0.1.90
0.1.80
0.1.70
0.1.60
0.1.50
0.1.40
0.1.30
0.1.20
0.1.11
0.1.00

Package Sidebar

Install

npm i @quiet-front-end/json-schema-editor-antd

Weekly Downloads

10

Version

1.0.0

License

MIT

Unpacked Size

60.2 kB

Total Files

19

Last publish

Collaborators

  • quiet-front-end