0

It is possible to change color of CheckBox from react-native? For now only when is checked color is Purple, but when is unchecked border color is gray.

<CheckBox
      value={isSelected}
      onValueChange={setSelection}
      style={styles.checkbox}
      labelColor={Colors.PurpleLight}
      color={Colors.PurpleLight}
      onPress={onPress}
      disabled={disabled}
    />

Thank u a lot :)

Manche
  • 47
  • 2
  • 10

1 Answers1

0

As per documentation @Manche you should use https://github.com/react-native-checkbox/react-native-checkbox , community checbox

And there you have the power of customising colors

enter image description here

Hope it helps :)

Gaurav Roy
  • 11,175
  • 3
  • 24
  • 45