react-transitive-number

by Lapple

React component to apply transition effect to numeric strings, a la old Groupon timers

203 Stars 18 Forks Last release: Not found 33 Commits 7 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

react-transitive-number

React component to apply transition effect to numeric strings, a la old Groupon timers

Demo

Usage

var TransitiveNumber = require('react-transitive-number');

module.exports = React.createClass({ render: function() { return (

2:00
); } });

Properties

props.children

Text value that should be converted.

props.enableInitialAnimation

Boolean value to toggle animation when component is mounted first time. Defaults to

false
.

props.className

Optional class name.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.