import React, { useState } from 'react'; import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogFooter } from '@/components/ui/dialog'; import { Button } from '@/components/ui/button'; import { Label } from '@/components/ui/label'; import { Input } from '@/components/ui/input'; import { Calendar, Clock, Video, Phone, User } from 'lucide-react'; export default function ScheduleInterviewModal({ open, onClose, application }) { const [type, setType] = useState('video'); const [date, setDate] = useState(''); const [time, setTime] = useState(''); const [notes, setNotes] = useState(''); const [scheduled, setScheduled] = useState(false); const handleSchedule = () => { setScheduled(true); setTimeout(() => { setScheduled(false); onClose(); }, 1500); }; return ( !v && onClose()}> Schedule Interview {scheduled ? (

Interview scheduled!

{application?.applicant_name} will be notified.

) : (
{[ { value: 'video', label: 'Video', icon: Video }, { value: 'phone', label: 'Phone', icon: Phone }, { value: 'inperson', label: 'In Person', icon: User }, ].map((opt) => ( ))}
setDate(e.target.value)} className="mt-1.5" />
setTime(e.target.value)} className="mt-1.5" />