Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Lapple/react-transitive-number

React component to apply transition effect to numeric strings, a la old Groupon timers
https://github.com/Lapple/react-transitive-number

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

## react-transitive-number

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

![Demo](http://i.imgur.com/OJGsoig.gif)

- [Live demo](http://lapple.github.io/react-transitive-number/)
- [Example](https://github.com/Lapple/react-transitive-number/blob/master/example/index.js)

### Usage

```jsx
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.