Some checks failed
No response / noResponse (push) Has been cancelled
CI / Continuous releases (push) Has been cancelled
CI / test-dev (macos-latest) (push) Has been cancelled
CI / test-dev (ubuntu-latest) (push) Has been cancelled
CI / test-dev (windows-latest) (push) Has been cancelled
Maintenance / main (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
15 lines
384 B
Plaintext
15 lines
384 B
Plaintext
<FormControlLabel
|
|
control={<Switch checked={checked} onChange={handleChange} />}
|
|
label="Show"
|
|
/>
|
|
<Box sx={{ display: 'flex' }}>
|
|
<Grow in={checked}>{icon}</Grow>
|
|
{/* Conditionally applies the timeout prop to change the entry speed. */}
|
|
<Grow
|
|
in={checked}
|
|
style={{ transformOrigin: '0 0 0' }}
|
|
{...(checked ? { timeout: 1000 } : {})}
|
|
>
|
|
{icon}
|
|
</Grow>
|
|
</Box> |