import type { Notification } from '../../types/types'; import './Notifications.css'; type Props = { notifications: Notification[]; onRemove: (id: number) => void; onHover: (id: number, hovering: boolean) => void; }; export default function Notifications({ notifications, onRemove, onHover }: Props) { return (