import React from 'react'; import { NavLink } from 'react-router-dom'; import { LayoutDashboard, Users, GraduationCap, UserCircle, BookOpen, Settings, LogOut } from 'lucide-react'; const links = [ { icon: , label: 'Visão Geral', href: '/dashboard' }, { icon: , label: 'Turmas', href: '/dashboard/turmas' }, { icon: , label: 'Professores', href: '/dashboard/professores' }, { icon: , label: 'Alunos', href: '/dashboard/alunos' }, { icon: , label: 'Histórias', href: '/dashboard/historias' }, { icon: , label: 'Configurações', href: '/dashboard/configuracoes' }, { icon: , label: 'Sair', href: '/logout' }, ]; export function DashboardSidebar(): JSX.Element { return (
    {links.map((link) => (
  • ` flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group ${isActive ? 'bg-gray-100 dark:bg-gray-700' : ''} `} >
    {link.icon}
    {link.label}
  • ))}
); }