From 1f0bc715caaf7432c9bac45bed0775d44792819e Mon Sep 17 00:00:00 2001 From: CactusBlue Date: Mon, 9 Dec 2024 19:02:12 -0800 Subject: [PATCH] accessibility props for sidebar sheet (#362) --- .../(protected)/projects/[projectId]/sidebar-layout.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/sidebar-layout.tsx b/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/sidebar-layout.tsx index 3a0f80d4d..7573859e1 100644 --- a/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/sidebar-layout.tsx +++ b/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/sidebar-layout.tsx @@ -15,6 +15,7 @@ import { Button, Sheet, SheetContent, + SheetTitle, SheetTrigger, Typography, buttonVariants @@ -384,10 +385,15 @@ export default function SidebarLayout(props: { projectId: string, children?: Rea
setSidebarOpen(open)} open={sidebarOpen}> + + Sidebar Menu + - + setSidebarOpen(false)} />