react-animated-grid
v0.0.8
Published
A React component that renders its children in a grid animating them when their position changes
Downloads
5
Maintainers
Readme
Animated Grid
A React component that renders its children in a grid animating them when their position changes. Children's size has to be specified on Component Props.
<AnimatedGrid
width={200}
height={170}
margin={10}
className={'wrapper-classname'}
transitionTime={'400ms'}
transitionTimingFunction={'ease-in-out'}
>
{listOfElements}
</AnimatedGrid>
Usage
Install dependency
npm install react-animated-grid --save
Use it on your project
import AnimatedGrid from 'react-animated-grid'
Try it
Clone the project
git clone [email protected]:carlesba/animated-grid.git
Install dependencies
npm install
Start server
npm start
and visit http://localhost:8080