0.0.2 • Published 9 years ago

react-tick-tock v0.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

react-tick-tock

Simple React component for a countdown timer

npm install react-tick-tock --save

Example

var Timer = require('react-tick-tock');

var RenderTag = React.createClass({
    render: function () {
        return (
            <Div>
                {this.props.children}
            </Div>
        )
    }
})

var App = React.createClass({

    render: function () {
        return (
                <Timer
                    duration={30}
                    renderTag={RenderTag}
                />
        );
    }
});

Changelog

0.0.1

  • Simple countdown timer

Contributors

  • Will Washburn (@willwashburn)