Spiralis / xstate-timer

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.

Home Page:https://codesandbox.io/s/github/Spiralis/xstate-timer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spiralis/xstate-timer Issues

No issues in this repository yet.