🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

ihere-image-grid

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ihere-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.1
Version published
Maintainers
1
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

ihere-facebook-images

FAQs

Package last updated on 16 Jan 2020

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