import { X, RefreshCw, CheckCircle2, XCircle, AlertCircle } from 'lucide-react'; import { neonModelDisplayName } from '../utils/displayName'; const STATUS_META = { online: { label: 'Online', Icon: CheckCircle2, className: 'status-online' }, unavailable: { label: 'Unavailable', Icon: AlertCircle, className: 'status-unavailable' }, error: { label: 'Error', Icon: XCircle, className: 'status-error' }, }; export default function ModelStatusModal({ statuses, loading, onClose, onRefresh }) { return (
Checking models…
) : !statuses.length ? (No models configured.
) : ({s.error}
)}