1.0.0 • Published 3 years ago
react-img-gallery-by-comum v1.0.0
React img gallery
React image gallery is a react component taht receives a list of images and creates a scrollable area around the images.
This package was built from a fork of https://github.com/ovieokeh/npm-react-typescript-template.
Developing commands
npm run build
- compile the codenpm run start
- compile the code and refresh on file change
How to use
Import the package:
import Slider from "react-img-gallery-by-comum";
The slider component needs a string array with the images urls and an optional flag to disable the infinte scroll. If the array is empty, nothing is rendered.
1.0.0
3 years ago