-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
DarkTheme not defined in package or react navigation theming docs is wrong #3380
Comments
Hey! Thanks for opening the issue. The issue doesn't seem to contain a link to a repro (a snack.expo.dev link or link to a GitHub repo under your username). Can you provide a minimal repro which demonstrates the issue? A repro will help us debug the issue faster. Please try to keep the repro as small as possible and make sure that we can run it without additional setup. |
Couldn't find version numbers for the following packages in the issue:
Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3. The versions mentioned in the issue for the following packages differ from the latest versions on npm:
Can you verify that the issue still exists after upgrading to the latest versions of these packages? |
Hey @R4Y-repo, thanks for pointing it out. That document has to be updated to the latest library version. Currently we are exporting the following themes:
and the |
Thanks for the info |
Just wanted to remind you that the mentioned solution works |
Thanks, I will keep the issue open, to remember to update the documentation. |
Current behaviour
Whenever i use the
DarkTheme
component fromreact-native-paper
it says that it doesn't exist. Whereas the docs for the 5.0 version says that it does. here's a link to an example that usesDarktheme
Expected behaviour
DarkTheme
should be defined and be used normallyCode sample
or
Screenshots (if applicable)
Non applicable
What have you tried
I checked the code of the react-native-paper
index.d.ts
and i found this line of codewhen i visited
theming.d.ts
it has no reference of theDarkTheme
component mentioned in the page with the embedded link aboveYour Environment
The text was updated successfully, but these errors were encountered: