import { Box } from '@chakra-ui/react'; interface SubItemHookProps { active?: boolean; width?: string | number; height?: string | number; side?: 'left' | 'right'; } export default function SubItemHook(props: SubItemHookProps) { const { active = true, width = '1rem', height = '1.3rem', side = 'right', } = props; return ( <> {side === 'right' && ( )} {side === 'left' && ( )} ); }