20 lines
518 B
TypeScript
20 lines
518 B
TypeScript
|
|
import Box from '@mui/material/Box';
|
||
|
|
import Fab from '@mui/material/Fab';
|
||
|
|
import AddIcon from '@mui/icons-material/Add';
|
||
|
|
|
||
|
|
export default function FloatingActionButtonSize() {
|
||
|
|
return (
|
||
|
|
<Box sx={{ '& > :not(style)': { m: 1 } }}>
|
||
|
|
<Fab size="small" color="secondary" aria-label="add">
|
||
|
|
<AddIcon />
|
||
|
|
</Fab>
|
||
|
|
<Fab size="medium" color="secondary" aria-label="add">
|
||
|
|
<AddIcon />
|
||
|
|
</Fab>
|
||
|
|
<Fab color="secondary" aria-label="add">
|
||
|
|
<AddIcon />
|
||
|
|
</Fab>
|
||
|
|
</Box>
|
||
|
|
);
|
||
|
|
}
|