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
15 lines
485 B
TypeScript
15 lines
485 B
TypeScript
import Typography from '@mui/material/Typography';
|
|
import Box from '@mui/material/Box';
|
|
|
|
export default function FontWeight() {
|
|
return (
|
|
<Typography component="div">
|
|
<Box sx={{ fontWeight: 'light', m: 1 }}>Light</Box>
|
|
<Box sx={{ fontWeight: 'regular', m: 1 }}>Regular</Box>
|
|
<Box sx={{ fontWeight: 'medium', m: 1 }}>Medium</Box>
|
|
<Box sx={{ fontWeight: 500, m: 1 }}>500</Box>
|
|
<Box sx={{ fontWeight: 'bold', m: 1 }}>Bold</Box>
|
|
</Typography>
|
|
);
|
|
}
|