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 less strict prop types for restyleFunctions passed to useRestyle #41

Merged
merged 1 commit into from
Aug 19, 2020

Conversation

JoelBesada
Copy link
Contributor

Fixes #34. We can't allow useRestyle to only accept restyleFunctions with props of type AllProps since createVariant can be configured to accept a prop of any name as its input.

@JoelBesada JoelBesada merged commit 8bc1f4e into master Aug 19, 2020
@JoelBesada JoelBesada deleted the bugfix/use-restyle-variants-type branch August 19, 2020 14:56
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.

Question: How to use variants with the useRestyle hook
1 participant