title: material ui adding onclick
body: <p>I am trying to add an onClick eventhandler into a material ui example and it is not being called.</p>
  
  <pre><code>&lt;Tooltip title="Filter list"&gt;
   &lt;IconButton aria-label="Filter list"&gt;
    &lt;FilterListIcon/&gt;
     &lt;/IconButton onClick={test}&gt;
  &lt;/Tooltip&gt;
  
  test=()=&gt;{
  
  }
  </code></pre>
  
  <p>Heres the link to the code.
  sandbox editor <a href="https://codesandbox.io/s/kxq1oqxxjr" rel="nofollow noreferrer">https://codesandbox.io/s/kxq1oqxxjr</a></p>
  
  <p>Thanks for the help.</p>