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.
|
export const MESSAGE_ACTION = 'MESSAGE_ACTION';
|
|
export const SHOW = 'MESSAGE_SHOW';
|
|
export const HIDE = 'MESSAGE_HIDE';
|
|
|
|
export const show = (message) => ({
|
|
type: MESSAGE_ACTION,
|
|
action: SHOW,
|
|
message: message
|
|
});
|
|
|
|
export const hide = () => ({
|
|
type: MESSAGE_ACTION,
|
|
action: HIDE
|
|
});
|
|
|