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

fix: omitted underlying onChange prop type #680

Merged
merged 1 commit into from
Dec 20, 2022

Conversation

burzacoding
Copy link
Contributor

Overview

The prop onChange was being interpreted as an union between the onChange prop of this library and the onChange prop of @react-native-community/datetimepicker. I ommited this key because Typescript was expecting a callback with two params (event, date) instead of just one as this library says it should receive (only date).

@mmazzarolo
Copy link
Owner

Makes sense, thank you!

@mmazzarolo mmazzarolo merged commit b02409d into mmazzarolo:master Dec 20, 2022
github-actions bot pushed a commit that referenced this pull request Dec 20, 2022
## [14.0.1](v14.0.0...v14.0.1) (2022-12-20)

### Bug Fixes

* **types:** omitted underlying onChange prop type ([#680](#680)) ([b02409d](b02409d))
@github-actions
Copy link

🎉 This PR is included in version 14.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

None yet

2 participants