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
21 lines
654 B
JavaScript
21 lines
654 B
JavaScript
import Checkbox from '@mui/material/Checkbox';
|
|
import FavoriteBorder from '@mui/icons-material/FavoriteBorder';
|
|
import Favorite from '@mui/icons-material/Favorite';
|
|
import BookmarkBorderIcon from '@mui/icons-material/BookmarkBorder';
|
|
import BookmarkIcon from '@mui/icons-material/Bookmark';
|
|
|
|
const label = { slotProps: { input: { 'aria-label': 'Checkbox demo' } } };
|
|
|
|
export default function IconCheckboxes() {
|
|
return (
|
|
<div>
|
|
<Checkbox {...label} icon={<FavoriteBorder />} checkedIcon={<Favorite />} />
|
|
<Checkbox
|
|
{...label}
|
|
icon={<BookmarkBorderIcon />}
|
|
checkedIcon={<BookmarkIcon />}
|
|
/>
|
|
</div>
|
|
);
|
|
}
|