From d20d6bf333c9378bca4f96c2145390dd62af7e37 Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Thu, 13 Mar 2025 13:26:33 -0600 Subject: [PATCH] Update SidebarItem.tsx --- web/src/components/ui/sidebar/SidebarItem.tsx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/web/src/components/ui/sidebar/SidebarItem.tsx b/web/src/components/ui/sidebar/SidebarItem.tsx index f77861160..662bc3f98 100644 --- a/web/src/components/ui/sidebar/SidebarItem.tsx +++ b/web/src/components/ui/sidebar/SidebarItem.tsx @@ -58,7 +58,12 @@ const itemVariants = cva( } ); -export const SidebarItem: React.FC> = React.memo( +export const SidebarItem: React.FC< + ISidebarItem & + VariantProps & { + className?: string; + } +> = React.memo( ({ label, icon, @@ -68,6 +73,7 @@ export const SidebarItem: React.FC { const ItemNode = disabled || !route ? 'div' : Link; @@ -75,7 +81,7 @@ export const SidebarItem: React.FC