import React, { useState } from 'react'; import { useNavigate } from 'react-router-dom'; import { Network, Laptop, ShieldCheck, ArrowRight } from 'lucide-react'; const actions = [ { title: "Network Issues", description: "Connectivity problems, VPN access, and slow internet.", category: "Network", icon: Network, iconBg: '#EDFAF3', iconColor: '#16a34a', }, { title: "Software Problems", description: "Application crashes, license issues, and installations.", category: "Software", icon: Laptop, iconBg: '#EEF2FF', iconColor: '#4f46e5', }, { title: "Access Requests", description: "Permission changes, new account setup, and MFA.", category: "Access", icon: ShieldCheck, iconBg: '#F5F0FF', iconColor: '#7c3aed', } ]; const QuickActions = () => { const navigate = useNavigate(); const [hoveredIdx, setHoveredIdx] = useState(null); const handleActionClick = (category) => { navigate('/create-ticket', { state: { prefilledCategory: category } }); }; return (
{action.description}