import React from 'react';
import ImageGallery from 'react-image-gallery';
class GalleryComponent extends React.Component {
render() {
const originalImg = 'yourimage.com/source/1.jpg';
const thumbImg = 'yourimage.com/source/thumb/1.jpg';
const images = [
{
original: originalImg,
thumbnail: thumbImg,
},
{
original: 'http://lorempixel.com/1000/600/nature/2/',
thumbnail: 'http://lorempixel.com/250/150/nature/2/'
},
{
original: 'http://lorempixel.com/1000/600/nature/3/',
thumbnail: 'http://lorempixel.com/250/150/nature/3/'
}
]
return (
// <ImageGallery items={images} />
<div className="gallery">
</div>
);
}
}
export default GalleryComponent;