Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

react-native-bouncy-controlled-checkbox

iotale25MIT0.1.0TypeScript support: included

checkbox for React Native

checkbox, animated, check, customizable, react-native-checkbox, rn-checkbox, react-native, javascript, ui-lib, rn

readme

说明

修改自 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.