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.
16 lines
346 B
16 lines
346 B
export const MESSAGE_ACTION = 'MESSAGE_ACTION';
|
|
export const DISPLAY = 'DISPLAY';
|
|
export const HIDE = 'HIDE';
|
|
|
|
export const display = (line1, line2, hidden) => ({
|
|
type: MESSAGE_ACTION,
|
|
action: DISPLAY,
|
|
line1: line1,
|
|
line2: line2,
|
|
hidden: hidden
|
|
});
|
|
|
|
export const hide = () => ({
|
|
type: MESSAGE_ACTION,
|
|
action: HIDE
|
|
});
|
|
|