@synapsecns/widget
Version:
Widget library for interacting with the Synapse Protocol
14 lines (13 loc) • 548 B
TypeScript
/**
* Constructs animated progress bar visualizing time progress of an event.
* If end date is not provided, progress bar animates indefinitely.
*
* @param id - A unique ID to distinguish instances.
* @param startDate - The start date of the tracked event.
* @param endDate - The end date of the tracked event.
*/
export declare const LinearAnimatedProgressBar: import("react").MemoExoticComponent<({ id, startDate, endDate, }: {
id: string;
startDate: Date;
endDate: Date | null;
}) => import("react/jsx-runtime").JSX.Element>;