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