/* harmony default export */

/* harmony import */

/*#__PURE__*/

/**
* Displays a timer that will trigger a predefined callback when the time is up. An example use case is the timing of quizzes.
*
* @property {boolean} active - flag that can be toggled to start or pause the timer
* @property {number} duration - duration in seconds for the timer
* @property {boolean} invisible - controls whether the timer should be hidden
* @property {string} id - the unique `string` ID for the timer. If an ID is set, the timer component is persistent over page refreshes
* @property {string} legend - text displayed in front of the timer
* @property {Object} style - CSS inline styles
* @property {Function} onTimeUp - callback invoked when the timer runs out
*/

/**
* Formats time in the format `minutes:seconds`.
*
* @private
* @param {number} time - time in minutes
* @returns {string} formatted time string of the format `minutes:seconds`
*/

/***/

// Call the callback when the time left is 0:

// Calls the callback...

// Cancel the countdown on unmount of component:

// Check if the clock should be active:

// Decrement the time by 1:

// EXPORTS //

// Exports

// FUNCTIONS //

// MAIN //

// MODULES //

// Module

// PROPERTIES //

// Pad minutes and seconds with zeroes:

// Store the countdown reference:
