react-native-bouncy-checkbox 1

react-native-bouncy-checkbox

					//=> this is custom to group of BouncyCheckbox
						 selectedColor(i, color)}
                            unfillColor={color}
                            disableBuiltInState={true}
                            fillColor={color}>

Here is what the above code is Doing:
1. We are using the BouncyCheckbox component and passing it the size, fillColor, unfillColor, isChecked and onPress props.
2. The size prop is used to set the size of the checkbox.
3. The fillColor prop is used to set the color of the checkbox when it is checked.
4. The unfillColor prop is used to set the color of the checkbox when it is unchecked.
5. The isChecked prop is used to set the checkbox to checked or unchecked.
6. The onPress prop is used to set the function that will be called when the checkbox is pressed.
7. The disableBuiltInState prop is used to disable the built-in state of the checkbox.

Similar Posts