duo-gallery

1.0.0 • Public • Published

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

/duo-gallery/

    Package Sidebar

    Install

    npm i duo-gallery

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    26.5 kB

    Total Files

    7

    Last publish

    Collaborators

    • jakub-jarzabek