'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