UNPKG

@synapsecns/widget

Version:
13 lines (12 loc) 505 B
/** * A hook that constructs a progress bar with a custom message and countdown timer. * * @param eventLabel - A description for the tracked event. * @param startDate - The start date of the tracked event. * @param endDate - The end date of the tracked event. */ export declare const useEventCountdownProgressBar: (eventLabel: string, startDate: Date, endDate: Date | null, hideProgress?: boolean) => { isPending: boolean; isComplete: boolean; EventCountdownProgressBar: JSX.Element; };