0 ? MIN_BAR_WIDTH_PX : 0,
- width: `${Math.ceil(value)}%`,
- transition: 'width 0.3s linear',
- }}
+ countdownDurationInMs,
+ isCountdownPaused = false,
+ onCountdownComplete,
+}: ProgressBarProps) => {
+ const isCountdown = countdownDurationInMs !== undefined;
+
+ return (
+
-
-