13 lines
292 B
TypeScript
13 lines
292 B
TypeScript
|
|
import Switch from '@mui/material/Switch';
|
||
|
|
|
||
|
|
const label = { inputProps: { 'aria-label': 'Size switch demo' } };
|
||
|
|
|
||
|
|
export default function SwitchesSize() {
|
||
|
|
return (
|
||
|
|
<div>
|
||
|
|
<Switch {...label} defaultChecked size="small" />
|
||
|
|
<Switch {...label} defaultChecked />
|
||
|
|
</div>
|
||
|
|
);
|
||
|
|
}
|