-
-
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
<Banner theme={specificComponentTheme}> is not working #2899
Comments
Hey! Thanks for opening the issue. The issue doesn't seem to contain a link to a repro (a snack.expo.io 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? |
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? |
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? |
The vector-icons and react-native version are managed by Expo and I should not change those because compatibility reasons since I'm using the latest Expo version. |
Having the exact same issue. |
Could you please provide the bug reproduction on the snack? |
Current behaviour
When using "theme" prop of Banner component, the theme is not being applied to it.
Expected behaviour
By setting the theme prop should apply the theme on the component.
Code sample
What have you tried
I read the Theme section (https://callstack.github.io/react-native-paper/theming.html) to understand the expected behavior.
I've tried using useMemo and the straight way, but not worked.
I've tried to set only the colors props I need to change and have let te Paper do the merge, but not worked too.
I did the same with Snackbar component and worked fine.
Your Environment
The text was updated successfully, but these errors were encountered: