-
Hello, I would like to ask how to style for example an input on global level, so like every input will use a style that set border radius to 0. And if i want, then i can override in component level by sx prop. SX prop is cool, but i don't want to write borderRadius: 0 for every input in sx. |
Beta Was this translation helpful? Give feedback.
Answered by
rtivital
Feb 7, 2022
Replies: 1 comment 1 reply
-
You can add context styles to any component use |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
sqveeze
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can add context styles to any component use
styles
prop on MantineProvider – https://mantine.dev/theming/mantine-provider/#styles-on-mantineprovider