"use client"; import { useState } from "react"; import { AlertTriangle, X, ArrowRight } from "lucide-react"; import { FeatureKey } from "@/lib/usage"; interface UsageWarningBannerProps { feature: string; current: number; limit: number; } export function UsageWarningBanner({ feature, current, limit }: UsageWarningBannerProps) { const [isVisible, setIsVisible] = useState(true); if (!isVisible) return null; return (

You've used {current} of {limit} {feature} this month. Upgrade now to avoid interruption.

Upgrade
); }