Files
react-test/docs/data/system/typography/TextAlignment.tsx

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

17 lines
630 B
TypeScript
Raw 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 TextAlignment() {
return (
<Typography component="div">
<Box sx={{ textAlign: 'justify', m: 1 }}>
Ambitioni dedisse scripsisse iudicaretur. Cras mattis iudicium purus sit amet
fermentum. Donec sed odio operae, eu vulputate felis rhoncus.
</Box>
<Box sx={{ textAlign: 'left', m: 1 }}>Left aligned text.</Box>
<Box sx={{ textAlign: 'center', m: 1 }}>Center aligned text.</Box>
<Box sx={{ textAlign: 'right', m: 1 }}>Right aligned text.</Box>
</Typography>
);
}