10 lines
271 B
Plaintext
10 lines
271 B
Plaintext
|
|
<FormControlLabel
|
||
|
|
control={<Switch checked={checked} onChange={handleChange} />}
|
||
|
|
label="Show"
|
||
|
|
/>
|
||
|
|
<Box sx={{ display: 'flex' }}>
|
||
|
|
<Zoom in={checked}>{icon}</Zoom>
|
||
|
|
<Zoom in={checked} style={{ transitionDelay: checked ? '500ms' : '0ms' }}>
|
||
|
|
{icon}
|
||
|
|
</Zoom>
|
||
|
|
</Box>
|