0.0.1 • Published 3 years ago
@actovos-consulting-group/react-lightbox-component v0.0.1
React lightbox component
An image lightbox component for ReactJS. A demo can be viewed here
Features:
- Zoom control
- Rotate control
- Smooth animations
- Customizable thumbnails
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
0.0.1
3 years ago