'use client' import { AlertTriangle, ExternalLink } from 'lucide-react' import { cn } from '@/lib/utils' import type { TFR } from '@/lib/types' interface TfrBannerProps { tfrs: TFR[] className?: string } export function TfrBanner({ tfrs, className }: TfrBannerProps) { if (!tfrs || tfrs.length === 0) return null return (

{tfrs.length} Active TFR{tfrs.length !== 1 ? 's' : ''} in Area

    {tfrs.map((tfr) => (
  • {tfr.type} {tfr.description && <> — {tfr.description}} {tfr.detail_url && ( Details )}
  • ))}
View all TFRs on FAA website
) }