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 };