react-tick-tock

    0.0.2 • Public • Published

    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)

    Install

    npm i react-tick-tock

    DownloadsWeekly Downloads

    0

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • willwashburn