aboutsummaryrefslogtreecommitdiff
path: root/src/content/actions/follow.js
blob: 5a18dd563e70f65412d7ba6819eae42730dea3ee (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 'content/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 };