2021-09-01 10:27:09 +02:00
|
|
|
import Paper from '@mui/material/Paper';
|
|
|
|
|
import Stack from '@mui/material/Stack';
|
|
|
|
|
import { styled } from '@mui/material/styles';
|
2021-03-19 04:19:52 -07:00
|
|
|
|
2021-03-21 17:42:19 +01:00
|
|
|
const Item = styled(Paper)(({ theme }) => ({
|
2024-06-11 17:55:02 +07:00
|
|
|
backgroundColor: '#fff',
|
2021-03-21 17:42:19 +01:00
|
|
|
...theme.typography.body2,
|
|
|
|
|
padding: theme.spacing(1),
|
|
|
|
|
textAlign: 'center',
|
2025-03-26 13:22:45 -03:00
|
|
|
color: (theme.vars ?? theme).palette.text.secondary,
|
2024-06-11 17:55:02 +07:00
|
|
|
...theme.applyStyles('dark', {
|
|
|
|
|
backgroundColor: '#1A2027',
|
|
|
|
|
}),
|
2021-03-21 17:42:19 +01:00
|
|
|
}));
|
2021-03-19 04:19:52 -07:00
|
|
|
|
|
|
|
|
export default function DirectionStack() {
|
|
|
|
|
return (
|
2021-03-20 14:19:02 -03:00
|
|
|
<div>
|
|
|
|
|
<Stack direction="row" spacing={2}>
|
2021-03-21 17:42:19 +01:00
|
|
|
<Item>Item 1</Item>
|
|
|
|
|
<Item>Item 2</Item>
|
|
|
|
|
<Item>Item 3</Item>
|
2021-03-20 14:19:02 -03:00
|
|
|
</Stack>
|
|
|
|
|
</div>
|
2021-03-19 04:19:52 -07:00
|
|
|
);
|
|
|
|
|
}
|