title: React.ref prop in interface
body: <p>I tried putting string as the ref but I get an warning when I try to use ref?.current</p>
  <pre><code>Property 'current' does not exist on type 'string'
  </code></pre>
  <p>What should be used for ref prop in the interface. I don;t know what the ref type would be upfront. It could be HTMLInputElement it could be a div basically it could be any element.</p>
  <pre><code>interface IProps {
   name: string,
   time: number
   ref?: string
  }
  </code></pre>