Skip to content

This is a React component to allow users to upload avatar images by DnD (Dragging and Dropping) the file in the target area or clicking on it.

Notifications You must be signed in to change notification settings

pbesteves/react-avatar-upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React <AvatarUpload />

About

This is a component for uploading images to be used as Avatars in a Web Application built with React.

It allows users to select an image file by DnD (Dragging and Dropping) an image file onto the upload area, or by click on it and selecting a file from the explorer window.

The technologies used in this project, besides React, are styled-coponents and Typescript.

Running the project

After clonning this repository all you need to do is run the following commands

yarn install | npm install
yarn start | npm start

Running the tests

To run the tests simply run the following command inside the project directory.

The testing tools used on this project are Jest and @testing-library/react

yarn test | npm run test

About

This is a React component to allow users to upload avatar images by DnD (Dragging and Dropping) the file in the target area or clicking on it.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published