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

Use prop-types package instead of deprecated React.PropTypes import. #9

Merged
merged 1 commit into from
Jun 12, 2017

Conversation

oatycreates
Copy link
Contributor

This PR addresses a run-time warning when rendering the Timepicker widget:

Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.

I've also updated Radium to v0.19.1 to capture their prop-types package fix as well. Relevant Radium PR: FormidableLabs/radium#898. This change was first introduced into Radium v0.18.3 though they later reverted it and did a major version bump to 0.19.x instead for it.

Specs are passing, and all examples on the demo page seems to work and look the same as before during a manual test.

Resolves issue: oatycreates/scheduler-for-toggl#2

Thanks for creating this widget! I've been looking around for a good Android clock-style time picker for a while now. 🙂

Resolves warning: "Accessing PropTypes via the main React package is deprecated. ..."

Also updated Radium to v0.19.1 to capture their prop-types package fix as well.
@catc catc merged commit 614e4cb into catc:master Jun 12, 2017
@catc
Copy link
Owner

catc commented Jun 12, 2017

Looks good, thanks!

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

Successfully merging this pull request may close these issues.

2 participants