"use client"; import { PanelLeft, PanelLeftClose } from "lucide-react"; import { useTranslations } from "next-intl"; import { Button } from "@/components/ui/button"; import { Tooltip, TooltipContent, TooltipTrigger } from "@/components/ui/tooltip"; interface SidebarCollapseButtonProps { isCollapsed: boolean; onToggle: () => void; } export function SidebarCollapseButton({ isCollapsed, onToggle }: SidebarCollapseButtonProps) { const t = useTranslations("sidebar"); return ( {isCollapsed ? `${t("expand_sidebar")} (⌘B)` : `${t("collapse_sidebar")} (⌘B)`} ); }