0.1.2 • Published 6 years ago
react-drag-drop-info v0.1.2
NAME
react-drag-drop-info
DESCRIPTION
A Drag-n-Drop Box component that obtains information from files in a simple way. Especially useful for checking file integrity.
Installation
npm install react-drag-drop-info
Usage
const Box = require("react-drag-drop-info")
...
handleResponse(obj){
console.log(obj);
}
...
<Box handleDrop={fn} boxId={id}/>
Testing
This project uses Jest for testing. Visit https://jestjs.io/ for details.
To execute tests:
npm test