aboutsummaryrefslogtreecommitdiff
path: root/src/actions/completion.js
blob: 733f516c8f15261a83e2c5736c63a567f67c9b96 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import actions from 'actions';

const setItems = (groups) => {
  return {
    type: actions.COMPLETION_SET_ITEMS,
    groups,
  };
};

const selectNext = () => {
  return {
    type: actions.COMPLETION_SELECT_NEXT
  };
};

const selectPrev = () => {
  return {
    type: actions.COMPLETION_SELECT_PREV
  };
};

export { setItems, selectNext, selectPrev };