import React, { useContext } from 'react'; import { AlertGroup } from '@patternfly/react-core'; import { NotificationContext } from 'mod-arch-core'; import ToastNotification from '~/app/standalone/ToastNotification'; const ToastNotifications: React.FC = () => { const { notifications } = useContext(NotificationContext); return ( {notifications.map((notification) => ( ))} ); }; export default ToastNotifications;