React Prop Transition Component

Category: Animation , React | March 16, 2018
Author: imranolas
Views Total: 120
Official Page: Go to website
Last Update: March 16, 2018
License: MIT

The React Prop Transition Component will proxy props to a single functional child. When Transition receives new props it will interpolate values on each animation frame until complete or interrupted.

The props object can be any object permitted by d3.interpolateObject. In practice, this allows for transitions of numbers, arrays, colors (as understood by CSS) and much more.

Installation:

# NPM
$ npm install react-prop-transition --save

Preview:

React Prop Transition Component