import { Typography } from '@mui/material' import type { ReactNode } from 'react' import { styles } from './styles' export function GroupWrapper({ title, children, collapsed = false, }: { title: string children: ReactNode collapsed?: boolean }) { if (collapsed) return children return ( <> {title} {children} ) }