Skip to content

Remove default props in header and DatePicker.JS - #154

Open
gorbenco03 wants to merge 2 commits into
HosseinShabani:masterfrom
gorbenco03:master
Open

gorbenco03 wants to merge 2 commits into
HosseinShabani:masterfrom
gorbenco03:master

Conversation

@gorbenco03

Copy link
Copy Markdown

In last update of expo sdk, there is a warning
ERROR Warning: Header: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
ERROR Warning: DatePicker: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.

@renanmalato

Copy link
Copy Markdown

Hi I spent few days trying to fix that and I could get a warn free version changing the code base I will keeping that in another repository till they pull this fix....

This branch has not been deployed

No deployments
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