diff --git a/frontend/src/components/drawer/DrawerSection.tsx b/frontend/src/components/drawer/DrawerSection.tsx index f189bf3..cdea2c1 100644 --- a/frontend/src/components/drawer/DrawerSection.tsx +++ b/frontend/src/components/drawer/DrawerSection.tsx @@ -3,19 +3,23 @@ import { GearFineIcon } from "@phosphor-icons/react"; interface DrawerSectionProps { id: string; title: string; - count: string; + count: number; + subtext: string; isOpen: boolean; onClick: () => void; children: React.ReactNode; + icon: React.ReactNode; } export function DrawerSection({ id, title, count, + subtext, isOpen, onClick, children, + icon, }: DrawerSectionProps) { return (
- {children} +
+ {children} + {count === 0 && ( +
+ This drawer remains silent... +
+ )} +
-