Replies: 2 comments 3 replies
-
Hi, You can customize the picker component through topBarProps: https://wix.github.io/react-native-ui-lib/docs/components/overlays/Modal/Modal.TopBar Code snippet:
|
Beta Was this translation helpful? Give feedback.
3 replies
-
NOTE You can also change whole background color by setting <Picker
...
customPickerProps={{
modalProps: {
overlayBackgroundColor: 'black'
},
}}
/> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I would like to change the background color of the modal picker dialog () to black.
I already tried
ThemeManager.setComponentForcedTheme('Picker', (props, context) => { return { backgroundColor: 'black', }; });
and
ThemeManager.setComponentForcedTheme('Dialog', (props, context) => { return { backgroundColor: 'black', }; });
but it didn't change the background color of the picker where I can choose between the different options. How would I change the color?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions