react-native-check-box icon indicating copy to clipboard operation
react-native-check-box copied to clipboard

How do you know whether it is checked or not?

Open ghost opened this issue 7 years ago • 2 comments

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.

ghost avatar Apr 06 '18 16:04 ghost

did you find anything related to it , i also need

Tufan21 avatar May 31 '18 11:05 Tufan21

@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

ghost avatar May 31 '18 14:05 ghost