jfcaiceo / react-lightbox-component

An image lightbox component for ReactJS
http://jfcaiceo.github.io/react-lightbox-component/
MIT License
76 stars 31 forks source link

React lightbox component

An image lightbox component for ReactJS. A demo can be viewed here

Features:

Demo

Demo

Installation

npm install react-lightbox-component

Basic Usage

import Lightbox from 'react-lightbox-component';

const App = () => (
  <div>
    <Lightbox images={
      [
        {
          src: 'some image url',
          title: 'image title',
          description: 'image description'
        }
      ]
    }/>
  </div>
);

License

MIT