1.0.0 • Published 3 years ago

duo-gallery v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

duo-gallery

Gallery component that displays images as background as well as in main view window

NPM JavaScript Style Guide

Install

npm install --save duo-gallery

Usage

import React, { Component } from 'react'

import DuoGallery from 'duo-gallery'
import 'duo-gallery/dist/index.css'

class Example extends Component {
const arr = [
  {
      id: 0,
      imgSrc: example_img_1,
    },
    {
      id: 1,
      imgSrc: example_img_2,
    },
    {
      id:2,
      imgSrc: example_img_3,
    },
]
  render() {
    return <DuoGallery imageArray={arr} />
  }
}

License

MIT © jakub-jarzabek

Design

Gallery Design By Magdalena Pierzchała (https://www.linkedin.com/in/magdalena-pierzchala/)