没有合适的资源?快使用搜索试试~ 我知道了~
react-docgen-props-schema:在react-docgen的基础上更新道具JSON模式
共20个文件
js:13个
json:2个
yml:2个
需积分: 5 0 下载量 177 浏览量
2021-05-08
11:45:54
上传
评论
收藏 121KB ZIP 举报
温馨提示
docgen-props-schemaReact 将输出转换为 。 安装 npm install --save react-docgen-props-schema 用法 以这个例子为例,React组件。 import React from 'react' ; import PropTypes from 'prop-types' ; const ReactComonent = React . forwardRef ( ( props = { } , ref ) => { const { value , onChange , className , ... others } = props ; return ( < input type = "date" ref = { ref } className = { className }
资源推荐
资源详情
资源评论
收起资源包目录
react-docgen-props-schema-master.zip (20个子文件)
react-docgen-props-schema-master
__test__
default.typescript.test.js 3KB
ReactComponent.typescript.test.js 9KB
default.test.js 4KB
ReactComponent.test.js 9KB
utils
getFlowTypeSchema.js 4KB
safeEval.js 1KB
index.js 559B
getPropTypeSchema.js 4KB
.github
workflows
test.yml 1KB
publish.yml 2KB
LICENSE 1KB
README.md 6KB
handlers
schemaHandler.js 1KB
propDocHandler.js 3KB
index.js 159B
parse.js 456B
.gitignore 72B
index.js 118B
package-lock.json 507KB
package.json 721B
共 20 条
- 1
资源评论
风花雪月不等人
- 粉丝: 26
- 资源: 4645
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功