Files
react-test/docs/data/joy/components/switch/SwitchLabel.tsx

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

11 lines
257 B
TypeScript
Raw Normal View History

2025-12-12 14:26:25 +09:00
import Switch from '@mui/joy/Switch';
import Typography from '@mui/joy/Typography';
export default function SwitchLabel() {
return (
<Typography component="label" endDecorator={<Switch sx={{ ml: 1 }} />}>
Turn alarm on
</Typography>
);
}