0.2.2 • Published 5 years ago

react-grid-hover v0.2.2

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

React Grid Hover

npm.io

Installation

With npm:

npm i react-grid-hover

In your react file:

import ReactGridHover from 'react-grid-hover';

//use it as follows:
<ReactGridHover {...config} > // for the config file, see section Configuration below
    <img src='yourSourceURL' alt='altAttribute' />
    <img src='yourSourceURL' alt='altAttribute' />
    <img src='yourSourceURL' alt='altAttribute' />
    <img src='yourSourceURL' alt='altAttribute' />
</ReactGridHover>

Configuration

const config = {
	itemSize: '2em', // Standard is 50px, unit may vary
	design: 'flat', //standard is none, 'flat' is alternative
    scaleFactor: 1.5, // standard is 1.1, can be changed
};
0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago