Files
talk/client/coral-framework/actions/notification.js
T
2016-11-11 20:18:22 -03:00

17 lines
324 B
JavaScript

export const ADD_NOTIFICATION = 'ADD_NOTIFICATION';
export const CLEAR_NOTIFICATION = 'CLEAR_NOTIFICATION';
export const addNotification = (notifType, text) => {
return {
type: ADD_NOTIFICATION,
notifType,
text
};
};
export const clearNotification = () => {
return {
type: CLEAR_NOTIFICATION
};
};