blob: 708cd95f558aab906e61c5bb7bb8c7e4b1566e84 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
import actions from 'actions';
const enable = (newTab) => {
return {
type: actions.FOLLOW_ENABLE,
newTab,
};
};
const disable = () => {
return {
type: actions.FOLLOW_DISABLE,
};
};
const keyPress = (key) => {
return {
type: actions.FOLLOW_KEY_PRESS,
key: key
};
};
const backspace = () => {
return {
type: actions.FOLLOW_BACKSPACE,
};
};
export { enable, disable, keyPress, backspace };
|