import React, { type ComponentPropsWithoutRef, type FC, type ReactNode } from 'react'; import { cn } from '../../utils/cn'; import { HeaderContentFooterLayout } from '../HeaderContentFooterLayout'; import { OverlayScrollbar } from '../OverlayScrollbar'; export const IconMenuSidebarLayout: FC< { top?: ReactNode; bottom?: ReactNode; center?: ReactNode; } & ComponentPropsWithoutRef<'aside'> > = ({ top, bottom, children, center = children, className, ...props }) => { return ( {top}} footer={
{bottom}
} {...props} >
{center}
); };