Skip to content

Latest commit

 

History

History

DragAndDropReactHooks

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

DragAndDropReactHooks

A React port of the "Files - Drag-and-Drop" Elm Example.

Expected Behavior:

Browser

When the user drags a file from their computer on top of the dashed area, the area will change colors, indicating that the file will be uploaded once the user drops it there. The user can also select a list of files by clicking on the button instead. The labels in the example show the names of the last-uploaded files (i.e. files: ) and whether the user is currently dragging a file over the droppable area (i.e. hover: ).

Dependencies Used:

react react-dom