import * as React from 'react'; import Box from '@mui/material/Box'; import Switch from '@mui/material/Switch'; import Paper from '@mui/material/Paper'; import Grow from '@mui/material/Grow'; import FormControlLabel from '@mui/material/FormControlLabel'; const icon = ( ({ fill: theme.palette.common.white, stroke: theme.palette.divider, strokeWidth: 1, })} /> ); export default function SimpleGrow() { const [checked, setChecked] = React.useState(false); const handleChange = () => { setChecked((prev) => !prev); }; return ( } label="Show" /> {icon} {/* Conditionally applies the timeout prop to change the entry speed. */} {icon} ); }