react-native-checkbox icon indicating copy to clipboard operation
react-native-checkbox copied to clipboard

Warning: Failed prop type: Invalid prop `uncheckedImage` of type `string` supplied to `CheckBox`, expected `number`

Open sabahang opened this issue 7 years ago • 1 comments

I'm not even trying to set this prop. Why am I getting this error?

This is my code

<CheckBox
        onChange={this.onClick}
        checked={this.state.isChecked}
        label={this.props.label || ''}
        labelStyle={this.props.labelStyle}
        checkboxStyle={this.props.checkboxStyle}
 />

sabahang avatar May 09 '18 14:05 sabahang

Maybe this helps? But I don't see this library calling PropTypes directly... https://reactjs.org/warnings/dont-call-proptypes.html

sabahang avatar May 10 '18 07:05 sabahang