mui-fb-photo-grid
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: '...',
img: 'https://my-image',
imgThumbnail: 'https://my-thumbnail-image',
},
{
title: '...',
img: 'https://my-image',
imgThumbnail: 'https://my-thumbnail-image',
},
{
title: '...',
img: 'https://my-image',
imgThumbnail: 'https://my-thumbnail-image',
}
]
<MuiFbPhotoGrid
images={IMAGES}
reactModalStyle={{overlay: { zIndex: 2000 }}}
/>;
License
MIT © CodingByJerez website