mirror of
https://github.com/wassname/talk.git
synced 2026-06-30 15:18:51 +08:00
18 lines
348 B
JavaScript
18 lines
348 B
JavaScript
export const ADD_NOTIFICATION = 'ADD_NOTIFICATION';
|
|
export const CLEAR_NOTIFICATION = 'CLEAR_NOTIFICATION';
|
|
|
|
export const addNotification = (notifType, text, position) => {
|
|
return {
|
|
type: ADD_NOTIFICATION,
|
|
notifType,
|
|
text,
|
|
position
|
|
};
|
|
};
|
|
|
|
export const clearNotification = () => {
|
|
return {
|
|
type: CLEAR_NOTIFICATION
|
|
};
|
|
};
|