0.0.0-alpha.0.0.2 • Published 4 years ago

react-modern-timer v0.0.0-alpha.0.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

react-modern-timer

A simple timer component for ReactJS

NPM JavaScript Style Guide

Install

npm i react-modern-timer

Usage

for use Timer Component, you should write codes like:

import React, { Component } from 'react'

import {Timer} from 'react-modern-timer'

class App extends Component {
  render () {
    return (
      <Timer />
    )
  }
}

and for use StopWatch component, you should write codes like:

import React, { Component } from 'react'

import {StopWatch} from 'react-modern-timer'

class App extends Component {
  render () {
    return (
      <StopWatch />
    )
  }
}

License

MIT © askariacc