Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sabahang opened this issue May 9, 2018 · 1 comment

Comments

@sabahang
Copy link

sabahang commented May 9, 2018

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
Copy link
Author

sabahang commented May 10, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant