react-native-check-box
react-native-check-box copied to clipboard
CheckBox size
How to change the size of the checkbox? Version: 2.1.0
Worst case scenario you can use your own image or icon and adjust that size
<CheckBox
onClick={this.onCheckboxClick}
checkedImage={<MaterialIcons size={40} name="radio-button-checked" />}
unCheckedImage={<MaterialIcons size={40} name="radio-button-unchecked" />}
/>
can't i change check box size without adding own image or icon?
I edited the component so it acepts checkBoxStyle and override
<Image source={source} style={{tintColor: this.props.checkBoxColor}} />
for
<Image source={source} style={this.props.checkBoxStyle} />