Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

react-upload-image-gallery

TPMinan210.0.1-beta.5

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

react, drag and drop, image gallery, upload gallery, drag sort, dropzone, image gallery

readme

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
/>