// ** MUI Imports
import Divider from '@mui/material/Divider'
import { styled, useTheme } from '@mui/material/styles'
import Typography, { TypographyProps } from '@mui/material/Typography'
import MuiListSubheader, { ListSubheaderProps } from '@mui/material/ListSubheader'
// ** Types
import { NavSectionTitle } from '../core/layouts/types'
interface Props {
item: NavSectionTitle
}
// ** Styled Components
const ListSubheader = styled((props: ListSubheaderProps) => )(
({ theme }) => ({
lineHeight: 1,
display: 'flex',
position: 'relative',
marginTop: theme.spacing(7),
marginBottom: theme.spacing(2),
backgroundColor: 'transparent',
transition: 'padding-left .25s ease-in-out'
})
)
const TypographyHeaderText = styled(Typography)(({ theme }) => ({
fontSize: '0.75rem',
lineHeight: 'normal',
letterSpacing: '0.21px',
textTransform: 'uppercase',
color: theme.palette.text.disabled,
fontWeight: theme.typography.fontWeightMedium
}))
const VerticalNavSectionTitle = (props: Props) => {
// ** Props
const { item } = props
// ** Hook
const theme = useTheme()
return (
{item.sectionTitle}
)
}
export default VerticalNavSectionTitle