aboutsummaryrefslogtreecommitdiff
path: root/src/actions/completion.js
blob: 1ffb02515cbf1d0dedd190839505fb59939271a4 (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 };