'use client'; import React from 'react'; import { cn } from '@nice/ui/lib/utils'; import { Button } from '@nice/ui/components/button'; import { ScrollArea } from '@nice/ui/components/scroll-area'; import { Users, UserCheck, ChevronLeft, ChevronRight } from 'lucide-react'; interface MenuItem { key: string; label: string; icon: React.ComponentType; description?: string; } const menuItems: MenuItem[] = [ { key: 'overview', label: '人员总览', icon: Users, }, { key: 'elite', label: '骨干名册', icon: UserCheck, } ]; interface ProfileSidebarProps { activeItem: string; onItemChange: (key: string) => void; collapsed?: boolean; onToggleCollapse?: () => void; } export function ProfileSidebar({ activeItem, onItemChange, collapsed = false, onToggleCollapse }: ProfileSidebarProps) { return (
{/* 菜单区域 */}
); }