WrathChaos / react-native-bouncy-checkbox-group

Fully customizable bouncy checkbox group for React Native
https://freakycoder.com/
MIT License
24 stars 9 forks source link

Unchecked event? #17

Closed csulit closed 6 months ago

csulit commented 6 months ago

How can we determine if a checkbox or radio button is unchecked?

WrathChaos commented 6 months ago

Hello @csulit

you can use onChange prop to check which one are checked and which ones are not

onChange={(selectedItem: ICheckboxButton) => {
    console.log("SelectedItem: ", JSON.stringify(selectedItem));
  }}