Files
multiparty-meeting/app/src/actions/notificationActions.js
T
2019-11-05 11:53:21 +01:00

16 lines
338 B
JavaScript

export const addNotification = (notification) =>
({
type : 'ADD_NOTIFICATION',
payload : { notification }
});
export const removeNotification = (notificationId) =>
({
type : 'REMOVE_NOTIFICATION',
payload : { notificationId }
});
export const removeAllNotifications = () =>
({
type : 'REMOVE_ALL_NOTIFICATIONS'
});