0.0.1-beta.5 • Published 5 years ago

react-upload-image-gallery v0.0.1-beta.5

Weekly downloads
27
License
-
Repository
github
Last release
5 years ago

react-upload-image-gallery

Create a picture gallery for React, upload, change the order, and customize a library.

Installation

npm install react-upload-image-gallery

or:

yarn add react-upload-image-gallery

Usage

import RUIG from 'react-upload-image-gallery'

// Add style manually
import 'react-upload-image-gallery/dist/style.css' // or scss


<RUIG
  action="/api/upload" // upload route
  source={response => response.source} // response image source
/>