Countdown (deprecated)

The optional countdown option, allows you to set captions for the different stages of the countdown view. The caption value is rendered, if the countdown is still running, while the completed value is rendered, when the countdown is completed, but the show has not yet started.

The captions are rendered underneath the show's title.

const alertConfig: Partial<AlertConfig> = {
  countdown: {
    caption: 'Going live in',
    completed: 'Starting soon',
  },
};

Last updated