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
32 lines
792 B
JavaScript
32 lines
792 B
JavaScript
import Checkbox from '@mui/joy/Checkbox';
|
|
import List from '@mui/joy/List';
|
|
import ListItem from '@mui/joy/ListItem';
|
|
import Typography from '@mui/joy/Typography';
|
|
|
|
export default function GroupCheckboxes() {
|
|
return (
|
|
<div>
|
|
<Typography
|
|
id="sandwich-group"
|
|
level="body-sm"
|
|
sx={{ fontWeight: 'lg', mb: 1 }}
|
|
>
|
|
Sandwich Dressings
|
|
</Typography>
|
|
<div role="group" aria-labelledby="sandwich-group">
|
|
<List size="sm">
|
|
<ListItem>
|
|
<Checkbox label="Lettuce" defaultChecked />
|
|
</ListItem>
|
|
<ListItem>
|
|
<Checkbox label="Tomato" />
|
|
</ListItem>
|
|
<ListItem>
|
|
<Checkbox label="Mustard" />
|
|
</ListItem>
|
|
</List>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|