Light and simple Reactjs drag and drop files library to use with very flexible options to change, so you put whatever the design you want for your drop-area. Users can drag and drop or even select the file anywhere in the window.
Hi, I just stumbled upon this and tried it. I got an error about missing dependency:
.yarn/unplugged/styled-components-virtual-9691129a54/node_modules/styled-components/dist/styled-components.browser.esm.js:1:0
Module not found: styled-components tried to access react-is (a peer dependency) but it isn't provided by its ancestors; this makes the require call ambiguous and unsound.
Ancestor breaking the chain: babel-plugin-styled-components@virtual:9691129a54311d74830d740c933802844a8e85eee8626ffd8747a04d20f491beb3d342fdfc48789f23db385d47e5af24cec6536671e9ebffc31889eb0fa7cdd8#npm:2.0.7
Ancestor breaking the chain: react-drag-drop-files@virtual:dc3fc578bfa5e06182a4d2be39ede0bc5b74940b1ffe0d70c26892ab140a4699787750fba175dc306292e80b4aa2c8c5f68c2a821e69b2c37e360c0dff36ff66#npm:2.3.7
This is next.js project and is using yarn package manager with pnp.
yarn version: 3.2.1
node version: 17.9.1
next.js: 12.1.6
Hi, I just stumbled upon this and tried it. I got an error about missing dependency:
This is next.js project and is using yarn package manager with pnp. yarn version: 3.2.1 node version: 17.9.1 next.js: 12.1.6
Installing dependency works. Cheers