react-native-bouncy-controlled-checkbox

0.1.0 • Public • Published

说明

修改自 react-native-bouncy-checkbox@2.0.0

将受控组件的状态由 state 自管理,转为通过 props 更新状态。方便与父组件进行交互。

<BouncyControlledCheckbox
  checked={checked}
  onCheckPress={(checked) => {
    console.log(checked);
  }}
/>

License

React Native Bouncy Checkbox is available under the MIT license. See the LICENSE file for more info.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    2

Package Sidebar

Install

npm i react-native-bouncy-controlled-checkbox

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

34.1 kB

Total Files

20

Last publish

Collaborators

  • ale0720