aboutsummaryrefslogblamecommitdiff
path: root/src/content/actions/input.js
blob: 465a486c8aa35922c049a9608f90b8f1e40f3256 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                      
 
                           
                                  
        
    
  
 
                         
                                  

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