Some checks failed
No response / noResponse (push) Has been cancelled
CI / Continuous releases (push) Has been cancelled
CI / test-dev (macos-latest) (push) Has been cancelled
CI / test-dev (ubuntu-latest) (push) Has been cancelled
CI / test-dev (windows-latest) (push) Has been cancelled
Maintenance / main (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
37 lines
904 B
JavaScript
37 lines
904 B
JavaScript
import Box from '@mui/material/Box';
|
|
import Button from '@mui/material/Button';
|
|
|
|
export default function ButtonSizes() {
|
|
return (
|
|
<Box sx={{ '& button': { m: 1 } }}>
|
|
<div>
|
|
<Button size="small">Small</Button>
|
|
<Button size="medium">Medium</Button>
|
|
<Button size="large">Large</Button>
|
|
</div>
|
|
<div>
|
|
<Button variant="outlined" size="small">
|
|
Small
|
|
</Button>
|
|
<Button variant="outlined" size="medium">
|
|
Medium
|
|
</Button>
|
|
<Button variant="outlined" size="large">
|
|
Large
|
|
</Button>
|
|
</div>
|
|
<div>
|
|
<Button variant="contained" size="small">
|
|
Small
|
|
</Button>
|
|
<Button variant="contained" size="medium">
|
|
Medium
|
|
</Button>
|
|
<Button variant="contained" size="large">
|
|
Large
|
|
</Button>
|
|
</div>
|
|
</Box>
|
|
);
|
|
}
|