import * as React from "react"; import { cn } from "../lib/cn"; export interface NavItem { label: string; icon?: React.ReactNode; href?: string; active?: boolean; onClick?: () => void; } /** Dashboard chrome: fixed sidebar + sticky topbar + scrolling content. */ export function AppShell({ brand, nav, topbar, children, footer, }: { brand: React.ReactNode; nav: NavItem[]; topbar?: React.ReactNode; children: React.ReactNode; footer?: React.ReactNode; }) { return (