simple-react-shortcut import Shortcut from 'simple-react-shortcut'; <Shortcut shortcut="alt + a"> <input value="test" onChange={() => {}} /> </Shortcut>