Files
react-test/docs/data/system/getting-started/usage/BreakpointsAsObject.tsx.preview

13 lines
306 B
Plaintext
Raw Normal View History

2025-12-12 14:26:25 +09:00
<Box
sx={{
width: {
xs: 100, // theme.breakpoints.up('xs')
sm: 200, // theme.breakpoints.up('sm')
md: 300, // theme.breakpoints.up('md')
lg: 400, // theme.breakpoints.up('lg')
xl: 500, // theme.breakpoints.up('xl')
},
}}
>
This box has a responsive width.
</Box>