import Notifications from "@siteground/styleguide/lib/components/notifications/notifications"; import NotificationContainer from "@siteground/styleguide/lib/composite/notifications/notification-container"; import { useNotificationsCollection } from "@siteground/core-notifications-manager"; import { genericNotifications } from "./generic-notifications"; export const NotificationsContainer: React.FC = () => { const notifications = useNotificationsCollection(genericNotifications); return ( {notifications.map((n) => { return ( genericNotifications.deleteNotification(String(id))} /> ); })} ); };