Closed DmitriyKushkulov closed 2 years ago
Hello. EveryBody. Thanks for your Material UI.
I have faced the one issue in theme.breakpoints in material UI latest version.
This is my sample code.
import { makeStyles } from '@mui/styles'; const useStyles = makeStyles((theme) => ({ slickContainer: { width: '100%', margin: 'auto', padding: '0 20px',
padding: 0, },
}, }));
Please check this issue. But Material UI is very Good, very Peak. Thanks.
You probably haven't wrapped your application in ThemeProvider. This is required for @mui/styles after v5. See https://mui.com/styles/basics/#using-the-theme-context
ThemeProvider
@mui/styles
Hello. EveryBody. Thanks for your Material UI.
I have faced the one issue in theme.breakpoints in material UI latest version.
This is my sample code.
import { makeStyles } from '@mui/styles'; const useStyles = makeStyles((theme) => ({ slickContainer: { width: '100%', margin: 'auto', padding: '0 20px',
}, }));
Please check this issue. But Material UI is very Good, very Peak. Thanks.