From 02891ec45b4ddeea60a6bf2f6a6f7979334ffe2a Mon Sep 17 00:00:00 2001 From: MOH Date: Sat, 7 Mar 2026 18:37:40 +0100 Subject: [PATCH] Update root sidebar header and actions --- components/dashboard/dashboard-layout.tsx | 8 +++--- components/dashboard/sidebar.tsx | 22 +++++----------- components/root/root-dashboard-shell.tsx | 32 +++++++++++++---------- 3 files changed, 29 insertions(+), 33 deletions(-) diff --git a/components/dashboard/dashboard-layout.tsx b/components/dashboard/dashboard-layout.tsx index 971a073..3115865 100644 --- a/components/dashboard/dashboard-layout.tsx +++ b/components/dashboard/dashboard-layout.tsx @@ -18,6 +18,7 @@ type DashboardLayoutProps = { description: string; icon?: LucideIcon; items: RootNavItem[]; + sidebarTop?: ReactNode; sidebarFooter?: ReactNode; headerActions?: ReactNode; children: ReactNode; @@ -28,6 +29,7 @@ export function DashboardLayout({ description, icon: Icon, items, + sidebarTop, sidebarFooter, headerActions, children, @@ -35,8 +37,8 @@ export function DashboardLayout({ return (
-