Releases: WrathChaos/react-native-bouncy-checkbox-group
Releases · WrathChaos/react-native-bouncy-checkbox-group
2.0.0 🚀
React Native Bouncy Checkbox Group v2.0.0
We're excited to announce the release of version 2.0.0 of React Native Bouncy Checkbox Group!
Breaking Changes
- The
initialprop now accepts both single values and arrays (number | number[] | string | string[]) - Changed return type of
onChangecallback to match the selection mode (single object or array of objects) - Removed deprecated internal APIs
New Features
- Added support for
multipleselection mode - Introduced
alwaysSelectoption to ensure one checkbox is always selected in single mode - Added
animationDurationprop for controlling bounce animation speed - Added
spacingprop for custom spacing between checkboxes - Added
itemContainerStyleprop for styling individual checkbox containers
Improvements
- Better TypeScript support with improved type definitions
- Enhanced performance through React hooks optimization
- More flexible styling options
- Updated documentation with comprehensive examples
Dependencies
- Requires
react-native-bouncy-checkboxversion 4.1.2 or higher
Migration Guide
If upgrading from v1.x, note that the onChange callback now returns the full checkbox object(s) instead of just the ID.
1.0.0 Breaking Change ⚠️
Version 0.1.1
Thank you for the contribution @SrBrahma
First Release 😇
First Release 😇