Files
react-test/docs/data/system/typography/LineHeight.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
326 B
JavaScript
Raw Permalink Normal View History

2025-12-12 14:26:25 +09:00
import Typography from '@mui/material/Typography';
import Box from '@mui/material/Box';
export default function LineHeight() {
return (
<Typography component="div">
<Box sx={{ lineHeight: 'normal', m: 1 }}>Normal height.</Box>
<Box sx={{ lineHeight: 2, m: 1 }}>line-height: 2</Box>
</Typography>
);
}