import { forwardRef, type ElementRef } from 'react'; import { type ElementProps } from '../../types'; import { cn } from '../../utils/cn'; import { withAttr } from '../../utils/withAttr'; import { useSidebarContext } from './sidebar.context'; export interface SidebarFooterProps extends ElementProps<'div'> { withDivider?: boolean; } const SidebarFooter = forwardRef, SidebarFooterProps>( ({ withDivider = true, children, className, ...props }, ref) => { const { isExpanded } = useSidebarContext(); return (
{children}
); } ); export { SidebarFooter };