import { Trophy, Users, Car, Flag, Megaphone } from 'lucide-react'; import Button from '@/components/ui/Button'; interface RenewalAlertProps { renewal: { id: string; type: 'league' | 'team' | 'driver' | 'race' | 'platform'; name: string; formattedRenewDate: string; formattedPrice: string; }; } export default function RenewalAlert({ renewal }: RenewalAlertProps) { const typeIcons = { league: Trophy, team: Users, driver: Car, race: Flag, platform: Megaphone, }; const Icon = typeIcons[renewal.type] || Trophy; return (
{renewal.name}
Renews {renewal.formattedRenewDate}
{renewal.formattedPrice}