1.0.0 • Published 4 years ago

react-sample-countdown v1.0.0

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

react-sample-countdown

Made with create-react-library

NPM JavaScript Style Guide

Install

npm install --save react-sample-countdown

OR

yarn add react-sample-countdown

Demo

demo

Usage

import React from 'react'

import { ExampleComponent } from 'react-sample-countdown'
import 'react-sample-countdown/dist/index.css'

const App = () => {
  const onFinish = () => {
    console.log('finished!')
  }

  return (
    <ExampleComponent
      text='Countdown to answer the question'
      time='00:00:15'
      onFinish={onFinish}
    />
  )
}

export default App

License

MIT © vinhyenvodoi98

1.0.0

4 years ago