React Native Minus(-) (Number) Plus(+) 组件

时间:2024-06-28 10:06:23
【文件属性】:

文件名称:React Native Minus(-) (Number) Plus(+) 组件

文件大小:1.08MB

文件格式:ZIP

更新时间:2024-06-28 10:06:23

React Native Awesome Components

React native Minus(-) (Number) Plus(+) 组件安装 安装稳定版本使用: yarn yarn add react-native-counters npm npm i react-native-counters --save Example 简单使用只使用Text plus减成分。 从“react-native-counters”导入计数器; class Example Component { onChange(number, type) { console.log(number, type) // 1, + or - } render() { return ( ) } } 对于所有用途 ALL_USES 如果要自定义 (minusIcon, plusIcon) 按钮 USE_CUSTOM_ICON Props 一些默认的道具和说明。 PropName 说明 type 默认 minus 如果没有使用 minusIcon,则直接显示。 String - plus 如果没有使用plusIcon,则直接显示。 String + start 起始编号 Numbe


【文件预览】:
react-native-counters-master
----example()
--------ios()
--------index.js(183B)
--------.watchmanconfig(2B)
--------android()
--------.flowconfig(2KB)
--------package.json(752B)
--------__tests__()
--------app.json(51B)
--------.eslintrc.js(74B)
--------.gitignore(813B)
--------App.js(3KB)
--------.buckconfig(114B)
--------.prettierrc.js(120B)
--------yarn.lock(296KB)
--------metro.config.js(300B)
--------.gitattributes(16B)
--------babel.config.js(77B)
----index.js(98B)
----docs()
--------USE_CUSTOM_ICON.md(906B)
--------ALL_USES.md(924B)
----package.json(493B)
----Kapture.gif(992KB)
----LICENSE(1KB)
----static()
--------custom.png(8KB)
--------default.png(8KB)
--------text.png(12KB)
--------radius.png(11KB)
----src()
--------components()
--------styles()
----.npmignore(31B)
----.gitignore(49B)
----README.md(2KB)
----yarn.lock(2KB)

网友评论