import React, { useState } from "react"; import { SimpleCrud } from "./SimpleCrud"; import { PriceTableEditor } from "./PriceTableEditor"; import { Building2, GraduationCap, Calendar, DollarSign, Database, Briefcase } from "lucide-react"; export const SystemSettings: React.FC = () => { const [activeTab, setActiveTab] = useState<"empresas" | "cursos" | "tipos_evento" | "anos_formatura" | "precos" | "funcoes">("empresas"); const tabs = [ { id: "empresas", label: "Empresas", icon: Building2 }, { id: "cursos", label: "Cursos", icon: GraduationCap }, { id: "tipos_evento", label: "Tipos de Evento", icon: Calendar }, { id: "anos_formatura", label: "Anos de Formatura", icon: Database }, { id: "funcoes", label: "Funções", icon: Briefcase }, { id: "precos", label: "Tabela de Preços", icon: DollarSign }, ]; return (