node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org »

gallery-component

Installation

yarn add gallery-component

Usage

import 'baguettebox.js/dist/baguettebox.min.css'
import GalleryComponent from 'gallery-component'
 
<GalleryComponent
  images={[
    'http://placehold.it/120x120&text=image1',
    'http://placehold.it/120x120&text=image2',
    'http://placehold.it/120x120&text=image3',
    'http://placehold.it/120x120&text=image4',
  ]}
/>