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
23 lines
727 B
JavaScript
23 lines
727 B
JavaScript
import Badge from '@mui/joy/Badge';
|
|
import Box from '@mui/joy/Box';
|
|
import Typography from '@mui/joy/Typography';
|
|
|
|
export default function BadgeVariants() {
|
|
return (
|
|
<Box sx={{ display: 'flex', gap: 4 }}>
|
|
<Badge badgeContent={1} variant="solid">
|
|
<Typography sx={{ fontSize: 'xl' }}>💌</Typography>
|
|
</Badge>
|
|
<Badge badgeContent={2} variant="soft">
|
|
<Typography sx={{ fontSize: 'xl' }}>💌</Typography>
|
|
</Badge>
|
|
<Badge badgeContent={3} variant="outlined">
|
|
<Typography sx={{ fontSize: 'xl' }}>💌</Typography>
|
|
</Badge>
|
|
<Badge badgeContent={4} variant="plain">
|
|
<Typography sx={{ fontSize: 'xl' }}>💌</Typography>
|
|
</Badge>
|
|
</Box>
|
|
);
|
|
}
|