react-native-check-box
react-native-check-box copied to clipboard
How do you know whether it is checked or not?
I can't figure out how to know if it is checked or not.
I know there is theonClick={() => alert()} function but if I pass anything through in this function it doesn't give me any information.
did you find anything related to it , i also need
@Tufan21 no but I do isChecked={the_variable} onClick={() => { the_variable = !the_variable ;} and then you can just check the variable to determine if it's checked or not