// @mui import { styled } from '@mui/material/styles'; import { CardActionArea, Stack } from '@mui/material'; // hooks import useSettings from '../../hooks/useSettings'; // import Iconify from '../Iconify'; // ---------------------------------------------------------------------- const BoxStyle = styled(CardActionArea)(({ theme }) => ({ padding: theme.spacing(2), color: theme.palette.text.disabled, border: `solid 1px ${theme.palette.grey[500_12]}`, backgroundColor: theme.palette.background.neutral, borderRadius: Number(theme.shape.borderRadius) * 1.25, })); // ---------------------------------------------------------------------- export default function SettingStretch() { const { themeStretch, onToggleStretch } = useSettings(); const ICON_SIZE = { width: themeStretch ? 24 : 18, height: themeStretch ? 24 : 18, }; return ( theme.palette.primary.main, }), }} > theme.customShadows.z12, transition: (theme) => theme.transitions.create('width'), ...(themeStretch && { width: 1, color: 'primary.main', }), }} > ); }