title: How to import the types of react-dropzone?
body: <p>I'm using <a href="https://react-dropzone.js.org/" rel="nofollow noreferrer">react-dropzone</a> with typescript, but I don't know how to import the types off react-dropzone. I could not find it in the documentation. What is the type of rejectedFiles?</p>
  <p>Code example</p>
  <pre><code>  const { getRootProps, getInputProps, isFocused, isDragAccept, isDragReject } = useDropzone({
      onDropRejected,
    })
  
  const onDropRejected = useCallback(rejectedFiles =&gt; {
      setFilesRejected(rejectedFiles)
    }, [])
  </code></pre>