@berlitz/timer
v1.3.0
Published
Timer component for the Max Design System
Readme
Timer 
This component will count down the time remaining to complete the online placement test.
Installation
yarn add @berlitz/timerProps
| Argument | Type | Required | Default | descriptions | | --------------- | ------ | -------- | -------- | ---------------------------------------- | | seconds | number | Yes | null | sets the initial state of time remaining | | onTimerComplete | func | No | () => {} | this func is called when the time lapse |
Usage
<Timer onTimerComplete={() => console.log('Done!')} seconds={60} />