title: How to add types to React Table IndeterminateCheckbox method
body: <p>I'm really a beginner at typescript world and, I'm currently using React Table library that has no types by default on documentation.</p>
  <p>So, I would like to ask your help to add the types to <strong>IndeterminateCheckbox method</strong>.</p>
  <pre class="lang-js prettyprint-override"><code>const IndeterminateCheckbox = React.forwardRef(
    ({ indeterminate, ...rest }, ref) =&gt; {
      const defaultRef = React.useRef()
      const resolvedRef = ref || defaultRef
  
      React.useEffect(() =&gt; {
        resolvedRef.current.indeterminate = indeterminate
      }, [resolvedRef, indeterminate])
  
      return (
        &lt;&gt;
          &lt;input type=&quot;checkbox&quot; ref={resolvedRef} {...rest} /&gt;
        &lt;/&gt;
      )
    }
  )
  </code></pre>
  <p>Here is the link to sandbox from React Table docs:
  <a href="https://codesandbox.io/s/github/tannerlinsley/react-table/tree/master/examples/row-selection-and-pagination?from-embed=&amp;file=/src/App.js:613-1010" rel="nofollow noreferrer">https://codesandbox.io/s/github/tannerlinsley/react-table/tree/master/examples/row-selection-and-pagination?from-embed=&amp;file=/src/App.js:613-1010</a></p>
  <p>My second question is: <strong>Where can I find the types and maybe add them by myself?</strong></p>