react-time-until
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

react-time-until

Time until/ago countdown component for React

NPM JavaScript Style Guide

Install

npm install --save react-time-until

Usage

import React, { Component } from 'react'

import { TimeUntil } from 'react-time-until'
import 'react-time-until/dist/index.css'

class Example extends Component {
  render() {
    return <TimeUntil delta={ 10000 } />
  }
}

License

MIT © frostyfan109

/react-time-until/

    Package Sidebar

    Install

    npm i react-time-until

    Weekly Downloads

    2

    Version

    1.0.6

    License

    MIT

    Unpacked Size

    36 kB

    Total Files

    12

    Last publish

    Collaborators

    • groupe