Files
react-test/docs/data/joy/customization/approaches/StyledComponent.tsx.preview

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

7 lines
210 B
Plaintext
Raw Permalink Normal View History

2025-12-12 14:26:25 +09:00
<ToggleButton
aria-pressed={muted ? 'true' : 'false'}
onClick={() => setMuted((bool) => !bool)}
sx={{ minWidth: 120 }}
>
Mute {muted ? <VolumeOffRoundedIcon /> : <VolumeUpRoundedIcon />}
</ToggleButton>