/** * Toast Container Component */ import React from 'react'; import { ToastNotification } from './ToastNotification'; import type { ToastNotification as ToastType } from '../types'; interface ToastContainerProps { notifications: ToastType[]; onDismiss: (id: string) => void; } export const ToastContainer: React.FC = ({ notifications, onDismiss }) => { return (
{notifications.map((notification) => ( ))}
); };