7 lines
173 B
Plaintext
7 lines
173 B
Plaintext
|
|
<FormControlLabel
|
||
|
|
control={<Switch checked={checked} onChange={handleChange} />}
|
||
|
|
label="Show"
|
||
|
|
/>
|
||
|
|
<Box sx={{ display: 'flex' }}>
|
||
|
|
<Fade in={checked}>{icon}</Fade>
|
||
|
|
</Box>
|