Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.4 KB

README.md

File metadata and controls

50 lines (38 loc) · 1.4 KB

mui-fb-photo-grid

NPM JavaScript Style Guide Release

Demo

demo mui-fb-photo-grid

Install

npm install --save mui-fb-photo-grid
or
yarn add mui-fb-photo-grid

Usage

import { IMuiFbPhotoGridImage, MuiFbPhotoGrid } from 'mui-fb-photo-grid';

const IMAGES:IMuiFbPhotoGridImage[] = [
    {
    title: '...', // require
    img: 'https://my-image', // require
    imgThumbnail: 'https://my-thumbnail-image', // optional
  },
  {
    title: '...',
    img: 'https://my-image',
    imgThumbnail: 'https://my-thumbnail-image',
  },
  {
    title: '...',
    img: 'https://my-image',
    imgThumbnail: 'https://my-thumbnail-image',
  }
  //......
]

<MuiFbPhotoGrid
  images={IMAGES} // require
  reactModalStyle={{overlay: { zIndex: 2000 }}} // optional (https://github.com/reactjs/react-modal#styles)
/>;

License

MIT © CodingByJerez website