export interface ButtonInterface { text: string; href?: string; onClick?: () => void; variant?: string; } export interface CountdownProps { title: string; /** * * Image url to be displayed behind the text */ assetSrc: string; /** * * A datatime value. This is not time zone aware so will need to be set per locale. * - Date.now() + 1000 * - 'January 5, 2021 15:37:25' * - unix timestampe */ endTime: Date | string | number; /** * * Message to be displayed when the timer has finished */ timeFinishedMessage?: string; /** * When set to true, text is black * * @default false */ dark?: boolean; button?: ButtonInterface; }