jmsv-gatsby-image-gallery
v0.1.2
Published
Very basic gallery grid based on gatsby-image.
Downloads
3
Readme
gatsby-image-gallery
Very basic gallery grid based on gatsby-image, styling powered by styled-components
.
Install
npm install --save @browniebroke/gatsby-image-gallery
Usage
This component is built on top react-image-lightbox
, the CSS should be imported from there.
import React, { Component } from 'react'
import Gallery from '@browniebroke/gatsby-image-gallery'
import '@browniebroke/gatsby-image-gallery/dist/style.css'
class Example extends Component {
render() {
return <Gallery />
}
}
Development
Releases
Releases should be automated using semantic release. This library parses the commit log to detect which version number should be bumped.
License
MIT © browniebroke