blob: d903e646f06cc8bac1475dd25491d5c9009374ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
export const inputChange = searchText => ({
type: 'SEARCH/INPUT_CHANGE',
searchText,
});
/**
* Change the selected result.
* @param {+1/-1} relativeChange usually +1 or -1, the change relative to the
* current result.
*/
export const changeSelectedResult = relativeChange => ({
type: 'SEARCH/CHANGE_SELECTED_RESULT',
relativeChange,
});
|