Skip to content
A minimalistic yet customizable timer component!
JavaScript HTML CSS
Branch: master
Clone or download
crup Merge pull request #20 from xendora/feature/jest-config
Added jest+enzyme configuration & tests
Latest commit a13963d Oct 21, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__tests__ changed naming convention Oct 20, 2019
docs Merge pull request #16 from xendora/charts-example Oct 8, 2019
example Added .eslintignore Oct 6, 2019
src added react native adaptibility Oct 8, 2019
.babelrc Initial commit Aug 28, 2019
.editorconfig Initial commit Aug 28, 2019
.eslintignore Added .eslintignore Oct 6, 2019
.eslintrc.js Added airbnb eslint rules Oct 6, 2019
.gitignore Added docs site Oct 6, 2019
.travis.yml updated travis Oct 8, 2019
LICENSE Create LICENSE Oct 8, 2019
README.md updated read me to be in accordance to proposed props Oct 6, 2019
doczrc.js Restructured menu Oct 6, 2019
package.json added jest and basic tets Oct 20, 2019
rollup.config.js Initial commit Aug 28, 2019
setupTests.js
yarn.lock added jest and basic tets Oct 20, 2019

README.md

react-timer

WIP

A minimalistic yet customizable timer component!

Props (--early stage--)

Name Type Description
children object (required) Define your react component here
start number (required) A start value for the timer
end function (required) A function which determines the end for the timer
interval number An interval value for the timer. Default is 1 second
onTick function (required) A callback function where the next computed value is determined
onEnd function A callback function which executes when the timer stops executing

License

MIT © xendora

You can’t perform that action at this time.