Files
react-test/docs/data/system/typography/TextAlignment.tsx
how2ice 005cf56baf
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
init project
2025-12-12 14:26:25 +09:00

17 lines
630 B
TypeScript

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>
);
}