"use client"; import { memo, type ReactNode } from "react"; import { IconChevronRight } from "@tabler/icons-react"; import { cn } from "@/lib/utils"; type SidebarButtonProps = { icon?: ReactNode; label: string; count?: number; isExpanded?: boolean; onToggle?: () => void; compact?: boolean; }; export const SidebarButton = memo(function SidebarButton({ icon, label, count, isExpanded, onToggle, compact = false, }: SidebarButtonProps) { const isExpandable = onToggle !== undefined; return ( ); });