aboutsummaryrefslogtreecommitdiff
path: root/src/content/actions/input.ts
blob: 465a486c8aa35922c049a9608f90b8f1e40f3256 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import actions from 'content/actions';

const keyPress = (key) => {
  return {
    type: actions.INPUT_KEY_PRESS,
    key,
  };
};

const clearKeys = () => {
  return {
    type: actions.INPUT_CLEAR_KEYS
  };
};

export { keyPress, clearKeys };