New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-fb-image-grid

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-fb-image-grid

A beautifully featured image grid library for React which represents the images just like the facebook grid images with the count for extra as well

latest
Source
npmnpm
Version
0.1.5
Version published
Weekly downloads
56
60%
Maintainers
1
Weekly downloads
 
Created
Source

react-fb-image-grid

An image library that's used to show the images in beautiful grids.

Below you will find some information on how to perform common tasks.

Table of Contents

  • What's new
  • Installation
  • Props
  • Pull Requests
  • License

What's new v0.1.5

  • Fixed key warning.

Demo

react-fb-image-grid

Some Features Video

https://youtu.be/HdEhsDNkw6s

Installation

Run the following

npm install react-fb-image-grid

or

yarn add react-fb-image-grid

Basic Usage

import FbImageLibrary from 'react-fb-image-grid'

<FbImageLibrary images={[]}/>

Props

PropsTypeDefaultExample
imagesArray (String)required{['https://some-url.com/image.jpg', importedImage]} //Local image should be imported first
countFromNumber5{2} //Should be from 1 to 5
hideOverlayBooleanfalse{true}
renderOverlayFunction() => 'Preview Image'{() => <button>Show Image</button>}
overlayBackgroundColorString#222222'green' or '#000000' or 'rgb(255, 26, 26)'
onClickEachFunctionnull{({src, index}) => {}}

Pull Requests

Feel free to make Pull Requests for your feature/fix. To run the project, run

npm install

or

yarn

then

npm start

License

MIT

Keywords

react-facebook-images

FAQs

Package last updated on 06 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts