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

4 lines
87 B
Plaintext
Raw Permalink Normal View History

2025-12-12 14:26:25 +09:00
<Switch
checked={checked}
onChange={(event) => setChecked(event.target.checked)}
/>