react-timer
react-timer is a simple timer component using react.
Install
yarn add react-timer --save
Versions
1.0.0
uses React ^0.13.0
1.0.1
uses React ^0.15.1
1.1.0
uses React ^16.0.0
Use
/* delay is just the delay on showing the update of the timer */ const OPTIONS = prefix: 'seconds elapsed!' delay: 100 { return <div> <Timer options=OPTIONS /> </div> } ReactDOM
Development
yarn
yarn dev
Test
yarn test
Build
yarn
yarn build
Publish
npm login
npm version patch
git add -A
git push origin master
npm publish