title: Hide react-tooltip after certain time
body: <p>I'm using react-tooltip module(<a href="https://www.npmjs.com/package/react-tooltip" rel="nofollow noreferrer">https://www.npmjs.com/package/react-tooltip</a>),</p>
  
  <p>Cannot figure out how to hide a tiiltip after a certain time (5 seconds for instance)</p>
  
  <p>I tried this:</p>
  
  <pre><code>&lt;ReactTooltip afterShow={() =&gt; { setTimeout(ReactTooltip.hide(), 5000) }} /&gt;
  </code></pre>
  
  <p>But in this case tooltip will not even showup</p>