// @mui import { styled } from '@mui/material/styles'; import { List, Box, ListSubheader } from '@mui/material'; // type import { NavSectionProps } from '../type'; // import { NavListRoot } from './NavList'; // ---------------------------------------------------------------------- export const ListSubheaderStyle = styled((props) => ( ))(({ theme }) => ({ ...theme.typography.overline, paddingTop: theme.spacing(3), paddingLeft: theme.spacing(2), paddingBottom: theme.spacing(1), color: theme.palette.text.primary, transition: theme.transitions.create('opacity', { duration: theme.transitions.duration.shorter, }), })); // ---------------------------------------------------------------------- export default function NavSectionVertical({ navConfig, isCollapse = false, ...other }: NavSectionProps) { return ( {navConfig.map((group, index) => ( {group.subheader} {group.items.map((list) => ( ))} ))} ); }