title: Reactjs trigger button with keydown when pressing space bar not on the button
body: <p>Right now, I'm trying to create a button that activates OnKeyDown, but that command only works when the user is hovering over the button and has selected it. Is there a way to use OnKeyDown so you can hover over an img on the other side of the screen, press space bar, and activate the button.
  something like</p>
  <pre><code>render(){
  return(
  &lt;div&gt;
  
  &lt;button onKeyDown = {this.dostuff}/&gt;
  &lt;img src = {thing}/&gt;
  &lt;/div&gt;
  
  );
  
  }
  </code></pre>
  <p>Except when hovering over the image and pressing space the button is activated.</p>