A beautifully featured image grid.
npm install react-rt-image-gridBelow you will find some information on how to perform common tasks.
- What's new
- Installation
- Props
- Pull Requests
- License
v0.1.5Run the following
```
npm install react-fb-image-grid`
or`
yarn add react-fb-image-grid
`
import FbImageLibrary from 'react-fb-image-grid'
`
Props | Type | Default | Example
:--- | :---: | :---: | :---
images | Array (String) | required | {['https://some-url.com/image.jpg', importedImage]} //Local image should be imported first{2}
countFrom | Number | 5 | //Should be from 1 to 5{true}
hideOverlay | Boolean | false | () => 'Preview Image'
renderOverlay | Function | | {() => }#222222
overlayBackgroundColor | String | | 'green' or '#000000' or 'rgb(255, 26, 26)'{({src, index}) => {}}
onClickEach | Function | null |
Feel free to make Pull Requests for your feature/fix.
To run the project, run
``
npm install`
or`
yarn`
then``
npm start