You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
404 B
20 lines
404 B
export const MESSAGE_ACTION = 'MESSAGE_ACTION';
|
|
export const SHOW = 'SHOW';
|
|
export const HIDE = 'HIDE';
|
|
export const EXCLAIM = 'EXCLAIM';
|
|
|
|
export const show = (message) => ({
|
|
type: MESSAGE_ACTION,
|
|
action: SHOW,
|
|
message: message
|
|
});
|
|
|
|
export const exclaim = () => ({
|
|
type: MESSAGE_ACTION,
|
|
action: EXCLAIM
|
|
});
|
|
|
|
export const hide = () => ({
|
|
type: MESSAGE_ACTION,
|
|
action: HIDE
|
|
});
|
|
|