1.2.3 • Published 2 years ago

mui-fb-photo-grid v1.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

mui-fb-photo-grid

NPM JavaScript Style Guide Release

Demo

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

1.2.3

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago