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

Theme prop isn't working #454

Closed
edenavital opened this issue Oct 11, 2020 · 3 comments
Closed

Theme prop isn't working #454

edenavital opened this issue Oct 11, 2020 · 3 comments

Comments

@edenavital
Copy link

Hello there,
I tried to add theme prop to the Picker component, but it doesn't work. ('light' / 'dark' as documented)
Afterwards, I tried to clone the project and debug, and looks like this line isn't exist in the installed version, only in the cloned project:

var theme = this.getPreferredTheme()

So my question is, why it is not published yet, or maybe i'm doing something wrong (I installed latest version)
Thanks :)

@edenavital
Copy link
Author

Anyone ???

@EtienneLem
Copy link
Member

and looks like this line isn't exist in the installed version, only in the cloned project:

Are you sure you have v3.0.0 installed? Sounds like that might not be the case.

@edenavital
Copy link
Author

For some reason, it seems to work only after creating a build...
Good enough for me, 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

No branches or pull requests

2 participants