import { ReactNode } from "react"; import Sidebar, { SidebarItem } from "./Sidebar"; export interface DashboardLayoutProps { title?: string; sidebarItems: SidebarItem[]; activeHref?: string; onNavigate?: (href: string) => void; headerRight?: ReactNode; children: ReactNode; } const DashboardLayout = ({ title, sidebarItems, activeHref, onNavigate, headerRight, children, }: DashboardLayoutProps) => (