• Stars
    star
    2
  • Language
    TypeScript
  • Created over 5 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A XState statechart Timer implementation. Meant to be reusable. All input to the timer is given in the initial context `config` property. It handles stopclock and timer mode, depending on config.duration is given or not. Features start/stop/pause/resume/lap-times, as well as options to auto-start the timer on creation and whether or not to auto-finalize on completion. The React component UI is just for testing. Using just simple styling. Written in Typescript.