1.2.1 • Published 5 years ago

react-simple-gallery v1.2.1

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

React Simple Gallery

This simple carousel-style gallery is designed for showcasing your cherished images.

Install

npm install react-simple-gallery

How to use

In your react file,

import React from "react"
import { ImageSlider } from "react-simple-gallery"
import "react-simple-gallery/dist/index.css"

function demoComponent = (props) => {
  const data =[
    { title: "Image Title", src="url/to/your/Image" },
    { title: "Image Title", src="url/to/your/Image" },
  ]
  return (
    <div>
      <ImageSlider data={data} />
    </div>
  )
}

Development

npm install
1.2.1

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago