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

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

10 lines
174 B
Plaintext
Raw Permalink Normal View History

2025-12-12 14:26:25 +09:00
<Switch
size="lg"
slotProps={{
input: { 'aria-label': 'Dark mode' },
thumb: {
children: <DarkMode />,
},
}}
sx={{ '--Switch-thumbSize': '16px' }}
/>