반응형
import Stack from "@mui/material/Stack";
import Button from "@mui/material/Button";
<Box sx={{ display: "flex" }}>
<Stack spacing={2} direction="column">
<Button variant="text">Text</Button>
<Button variant="contained">Contained</Button>
<Button variant="outlined">Outlined</Button>
<Button variant="contained">Contained</Button>
<Button variant="outlined">Outlined</Button>
<Button variant="outlined">Outlined</Button>
<Button variant="contained">Contained</Button>
<Button variant="outlined">Outlined</Button>
<Button variant="contained">Contained</Button>
</Stack>
</Box>
반응형
'[====== Development ======] > React' 카테고리의 다른 글
[React] 반응형으로 브라우즈 크기가 작아지면 SideBar가 사라지도록 하는 코드 (0) | 2022.08.11 |
---|---|
React Styled component (0) | 2022.08.10 |
component를 array로 정의 (0) | 2022.08.10 |
[React] Meterial UI - Nested List Items (0) | 2022.08.10 |
[VSCode] JavaScript (ES6) code snippets (0) | 2022.08.09 |