没有合适的资源?快使用搜索试试~ 我知道了~
idyll-component-children:操纵子组件的实用程序
共9个文件
js:2个
npmignore:1个
license:1个
需积分: 5 0 下载量 89 浏览量
2021-05-19
10:44:32
上传
评论
收藏 17KB ZIP 举报
温馨提示
田园诗组成的孩子 操纵子组件的实用程序 用法 const { filterChildren , mapChildren } = require ( 'idyll-component-children' ) ; filterChildren ( children , ( c ) => { // Filter for components named 'mycomponent' return c . type . name && c . type . name . toLowerCase ( ) === 'mycomponent' ; } ) mapChildren ( children , ( c ) => { // .. do some modification to the child return c ; } )
资源推荐
资源详情
资源评论
收起资源包目录
idyll-component-children-master.zip (9个子文件)
idyll-component-children-master
.gitignore 889B
.babelrc 37B
package.json 775B
src
index.js 773B
LICENSE 1KB
README.md 418B
.babelrc.js 277B
.npmignore 6B
yarn.lock 52KB
共 9 条
- 1
资源评论
八普
- 粉丝: 34
- 资源: 4551
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功