Salt provider
Salt provider
SaltProvider
is a required component used to change the theme, mode, density and breakpoints of your application.
Examples
How to use
Accessibility
Density
Mode
Use SaltProvider
to change the theme of your application with the theme
prop. You can pass in multiple theme names if needed, just like className
.
Use the useTheme
hook to access the currently active theme.