-
-
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
fix: add wrapperStyle to Snackbar #1865
Conversation
The mobile version of example app from this branch is ready! You can see it here |
@jaulz What's your use case? |
@Trancever I need to calculate the height of the |
@jaulz Can't you just pass |
@Trancever unfortunately not as I use a custom container that calculates the layout and triggers some other effects so I think this is the only possibility for me... |
* fix: add wrapperStyle * style: fix lint * style: fix lint * test: update snapshots
* fix: add wrapperStyle * style: fix lint * style: fix lint * test: update snapshots
Motivation
The PR adds a new property to the
Snackbar
in order to overwrite these styles:react-native-paper/src/components/Snackbar.tsx
Lines 289 to 293 in 5425413
Test plan
n/a