use-countdown-timer
React hook exposing a countdown timer with optional expiration and reset callbacks.
Install
Parameters and Return Types
use-countdown-timer
is written in TypeScript and bundles type definitions.
Usage
Development
Local development involves two parts.
First, install and start the library so that it watches src/
directory and automatically recompiles to dist/
on change.
Second, install and start the example app that is linked to your local use-countdown-timer
version.
Now, any changes to src/
in the local use-countdown-timer
or to the example app's example/src/
will live-reload the dev server.