没有合适的资源?快使用搜索试试~ 我知道了~
json-schema-viewer:JSON模式查看器React组件
共98个文件
ts:42个
json:21个
tsx:19个
需积分: 50 0 下载量 183 浏览量
2021-02-03
13:48:22
上传
评论
收藏 373KB ZIP 举报
温馨提示
@ stoplight / json-schema-viewer JSON模式查看器React组件 探索组件: 查看更改日志: 产品特点 全面的JSON Schema Draft 4支持,包括oneOf和anyOf组合器属性 将复杂的嵌套对象渲染到任何深度 渲染验证属性和降价描述 能够链接已解决的$ refs 可主题化 可折叠 安装 在现代浏览器和节点中受支持。 # latest stable yarn add @stoplight/json-schema-viewer 用法 // index.jsx import { JsonSchemaViewer } from " @stoplight/json-schema-viewer " ; < JsonSchemaViewer name = " Todos Model " schema = { schema } expanded = { true } hideTopBar = { false } emptyText = " No schema defined " defaultExpandedDepth =
资源推荐
资源详情
资源评论
收起资源包目录
json-schema-viewer-master.zip (98个子文件)
json-schema-viewer-master
.gitignore 398B
package.json 3KB
tslint.json 45B
src
components
SchemaTree.tsx 2KB
SchemaRow.tsx 4KB
__tests__
Property.spec.tsx 14KB
SchemaTree.spec.tsx 2KB
JsonSchemaViewer.spec.tsx 1KB
SchemaRow.spec.tsx 9KB
Validations.spec.tsx 3KB
Type.spec.tsx 3KB
shared
Validations.tsx 4KB
Property.tsx 4KB
index.ts 167B
Caret.tsx 589B
Divider.tsx 639B
Description.tsx 666B
Types.tsx 3KB
index.tsx 121B
JsonSchemaViewer.tsx 5KB
__stories__
utils
Wrapper.tsx 447B
index.ts 105B
_styles.scss 319B
JsonSchemaViewer.tsx 6KB
__tests__
utils
dumpDom.ts 2KB
index.spec.tsx 5KB
__snapshots__
index.spec.tsx.snap 84KB
utils
generateId.ts 68B
flattenTypes.ts 1KB
inferType.ts 463B
guards.ts 856B
normalizeRequired.ts 267B
getValidations.ts 2KB
getCombiners.ts 542B
__tests__
isSchemaViewerEmpty.spec.ts 931B
flattenTypes.spec.ts 2KB
assignId.spec.ts 489B
isCombiner.spec.ts 462B
getValidations.spec.ts 1KB
getMetadata.ts 315B
getAnnotations.ts 311B
isCombiner.ts 212B
getPrimaryType.ts 535B
isSchemaViewerEmpty.ts 410B
isValidType.ts 272B
errors.ts 98B
__fixtures__
allof-with-type.json 2KB
oneof-with-array-type.json 570B
formats-schema.json 690B
array-of-objects.json 306B
combiner-schema.json 636B
default-schema.json 2KB
tickets.schema.json 5KB
complex-allOf-model.json 2KB
array-of-allofs.json 478B
ref
original.json 608B
resolved.json 1KB
stress-schema.json 685KB
todo-allof.schema.json 2KB
allOf
allOf-resolved.json 2KB
allOf-schema.json 2KB
nullish-ref.schema.json 19B
array-of-refs.json 78B
tree
__tests__
populateTree.spec.ts 2KB
utils
printTree.ts 2KB
tree.spec.ts 50KB
__snapshots__
tree.spec.ts.snap 18KB
utils
createErrorTreeNode.ts 542B
populateTree.ts 9KB
mergeOneOrAnyOf.ts 963B
__tests__
walk.spec.ts 6KB
mergeAllOf.spec.ts 3KB
mergeAllOf.ts 2KB
walk.ts 4KB
canStepIn.ts 433B
index.ts 128B
tree.ts 6KB
metadata.ts 984B
index.ts 190B
hooks
index.ts 31B
useMetadata.ts 241B
types.ts 2KB
jest.config.js 558B
LICENSE 11KB
__mocks__
styleMock.js 21B
react.ts 227B
tsconfig.json 250B
.github
CODEOWNERS 33B
rollup.config.js 894B
README.md 2KB
setupTests.ts 154B
.storybook
addons.js 45B
webpack.config.js 268B
config.js 88B
preview-head.html 192B
tsconfig.build.json 446B
.circleci
config.yml 604B
yarn.lock 646KB
共 98 条
- 1
资源评论
高晖云
- 粉丝: 19
- 资源: 4622
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功