react-drag-drop-info

0.1.2 • Public • Published

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

Package Sidebar

Install

npm i react-drag-drop-info

Weekly Downloads

2

Version

0.1.2

License

ISC

Unpacked Size

14.2 kB

Total Files

7

Last publish

Collaborators

  • herreriasjose