1.0.0 • Published 1 year ago

@quiet-front-end/json-schema-editor-antd v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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

NPM version NPM downloads npm.io

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

1.0.0

1 year ago

0.3.0

2 years ago

0.1.14

3 years ago

0.1.15

3 years ago

0.2.0

3 years ago

0.1.16

3 years ago

0.2.3

3 years ago

0.1.10

3 years ago

0.1.11

3 years ago

0.1.12

3 years ago

0.1.13

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.9

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago