@berlitz/timer

1.3.0 • Public • Published

Timer npm version

This component will count down the time remaining to complete the online placement test.

Installation

yarn add @berlitz/timer

Props

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} />

Readme

Keywords

none

Package Sidebar

Install

npm i @berlitz/timer

Weekly Downloads

25

Version

1.3.0

License

MIT

Unpacked Size

11.3 kB

Total Files

6

Last publish

Collaborators

  • berlitz