https://github.com/jokergga/jschema-editor
Json Schema 可视化编辑器。
https://github.com/jokergga/jschema-editor
antd editor json-schema react
Last synced: 15 days ago
JSON representation
Json Schema 可视化编辑器。
- Host: GitHub
- URL: https://github.com/jokergga/jschema-editor
- Owner: Jokergga
- License: mit
- Created: 2022-10-07T06:36:10.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-09-03T08:57:56.000Z (over 1 year ago)
- Last Synced: 2025-03-24T05:03:59.392Z (about 1 month ago)
- Topics: antd, editor, json-schema, react
- Language: TypeScript
- Homepage: https://jokergga.github.io/jschema-editor
- Size: 1.62 MB
- Stars: 13
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [Json Schema 可视化编辑器](https://jokergga.github.io/jschema-editor/)
Antd Design 风格的 Json Schema 可视化编辑器。
## 示例
```shell
npm i jschema-editor
``````typescript jsx
import Editor from 'jschema-editor';
import { useState } from 'react';export default () => {
const [jsonData, setJsonData] = useState({});return (
{
setJsonData(data);
}}
/>
);
};
```
### TODO
- [ ] IconFont 优化
- [ ] 移除 mobx
- [ ] 文档补全、及其界面优化
- [ ] 全面支持 ts