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

Change style prop-type to any #533

Merged
merged 1 commit into from Mar 21, 2019

Conversation

scottmas
Copy link
Contributor

The style prop can actually be pretty much anything: an object, a number, a falsey value, or an array containing any mix of the preceding types. We could write up a complex type check for that, but it seems overkill. And prop-types are being removed from react-native core, so I'm not sure we even need these prop checks.

If you feel strongly about a complex type check, let me know and I'll see what I can do.

@osdnk osdnk merged commit 8693771 into software-mansion:master Mar 21, 2019
@osdnk
Copy link
Contributor

osdnk commented Mar 21, 2019

Thanks!

@scottmas scottmas deleted the fix-style-prop branch March 21, 2019 14:59
janicduplessis pushed a commit to janicduplessis/react-native-gesture-handler that referenced this pull request Feb 16, 2020
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.

None yet

2 participants