All Mantine components that have root element support
It works similar to React
style prop, but with some additional features.
You can pass a style function to the
style prop – in this case it will be called with theme.
It is useful when you need to access theme properties that are not exposed as CSS variables,
for example, properties from
You can pass an array of style objects and/or functions to
style prop – in this case, all styles will be merged into one object.
It is useful when you want to create a wrapper around Mantine component, add inline styles and keep the option to pass
style prop to it.