import { memo } from 'react';
// @mui
import Stack from '@mui/material/Stack';
// theme
import { hideScroll } from 'src/theme/css';
//
import { NavSectionProps, NavListProps, NavConfigProps } from '../types';
import { navHorizontalConfig } from '../config';
import NavList from './nav-list';
// ----------------------------------------------------------------------
function NavSectionHorizontal({ data, config, sx, ...other }: NavSectionProps) {
return (
{data.map((group, index) => (
))}
);
}
export default memo(NavSectionHorizontal);
// ----------------------------------------------------------------------
type GroupProps = {
items: NavListProps[];
config: NavConfigProps;
};
function Group({ items, config }: GroupProps) {
return (
<>
{items.map((list) => (
))}
>
);
}