import { Calendar, FileText } from 'lucide-react';
import { useNavigate } from 'react-router';
interface Notification {
id: string;
type: 'urgent' | 'reminder';
icon: React.ReactNode;
title: string;
description: string;
action: string;
}
const notifications: Notification[] = [
{
id: '1',
type: 'urgent',
icon: ,
title: 'Продление патента через 14 дней',
description: 'Не забудьте подать документы заранее',
action: 'Подробнее'
},
{
id: '2',
type: 'reminder',
icon: ,
title: 'Проверьте статус РВП',
description: 'Возможно, уже готово к получению',
action: 'Проверить'
}
];
export function Notifications() {
const navigate = useNavigate();
if (notifications.length === 0) return null;
return (
{notifications.map((notification) => (
{notification.icon}
{notification.title}
{notification.description}
))}
);
}