Giter Site home page Giter Site logo

kokill / react-fb-image-grid Goto Github PK

View Code? Open in Web Editor NEW

This project forked from expertizo/react-fb-image-grid

0.0 2.0 0.0 31 KB

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

License: MIT License

JavaScript 86.83% CSS 13.17%

react-fb-image-grid's Introduction

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 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

Props Type Default Example
images Array (String) required {['https://some-url.com/image.jpg', importedImage]} //Local image should be imported first
countFrom Number 5 {2} //Should be from 1 to 5
hideOverlay Boolean false {true}
renderOverlay Function () => 'Preview Image' {() => <button>Show Image</button>}
overlayBackgroundColor String #222222 'green' or '#000000' or 'rgb(255, 26, 26)'
onClickEach Function null {({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

react-fb-image-grid's People

Contributors

expertstuition avatar kashifsulaiman avatar kokill avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.