【文件属性】:
文件名称:react-conditional-component:仅当子组件满足其谓词时,才会显示其子组件
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-25 22:29:15
JavaScript
-条件组件
仅当子级满足其谓词时,此组件才会显示其子级:
< Conditional xss=removed>
< span xss=removed> The value is 10 or "10" span>
< span xss=removed> The value is 10 span>
< span xss=removed> The value is lower than or equal to 10 span>
...
Conditional>
安装
bower install react-conditional-component
or
npm install react-conditional-component
只需要求它即可使用:
v
【文件预览】:
react-conditional-component-master
----package.json(965B)
----react-conditional-component.jsx(2KB)
----.npmignore(41B)
----react-conditional-component.js(2KB)
----.gitignore(30B)
----README.md(2KB)
----bower.json(505B)