'use client'; import { Icon } from '@iconify/react'; import Image from 'next/legacy/image'; import Link from 'next/link'; import { DashboardNav } from '@/components/layout/dashboard-nav'; import { buttonVariants } from '@/components/ui/button'; import useSidebar from '@/hooks/use-sidebar'; import { cn, navItems } from '@/lib'; type SidebarProperties = { className?: string; }; export default function Sidebar({ className }: SidebarProperties) { const { isMinimized, toggle } = useSidebar(); const handleToggle = () => { toggle(); }; return ( ); }