This commit is contained in:
Hunter275 committed 2025-03-07 22:01:34 -05:00
1 parent 6a438470cf
commit cad590f993
6 files changed
+51 -2

No files matched your search

@@ -3,6 +3,7 @@ import type { LucideIcon } from "lucide-react";
export interface SidebarButtonProps {
label: string;
count?: number;
active?: boolean;
Icon?: LucideIcon;
element?;
@@ -13,6 +14,7 @@ export const SidebarButton = ({
label,
active,
Icon,
count,
element,
onClick,
}: SidebarButtonProps) => (
@@ -25,5 +27,6 @@ export const SidebarButton = ({
{Icon && <Icon size={16} />}
{element && element}
<span className="flex flex-1 justify-start shrink-0">{label}</span>
{count > 0 && <div className="justify-end notification-count">{count}</div>}
</Button>
);