import { IonModal, IonHeader, IonToolbar, IonTitle, IonContent, IonButton, IonIcon, IonList, IonItem, IonNote, IonLabel, } from '@ionic/react'; import Store from '../../store'; import { getNotifications } from '../../store/selectors'; import { close } from 'ionicons/icons'; const NotificationItem = ({ notification }) => ( {notification.title} {notification.when} ); const Notifications = ({ open, onDidDismiss }) => { const notifications = Store.useState(getNotifications); return ( Notifications Notifications {notifications.map((notification, i) => ( ))} ); }; export default Notifications;