I want the input type to be folder and not a single file. How can I select a folder instead of just a single file. Also how can I then access each file in that selected folder. I tried this to select a folder but didn't work. I am on chrome.
<input id="myInput" type="file" style={{visibility: 'hidden'}} webkitdirectory directory multiple/>