CountdownView
Defined in: useCountdown.ts:4
What useCountdown returns. All false/0 when expiresAt is null.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
isActive | boolean | The target is set and still in the future. | useCountdown.ts:8 |
isExpired | boolean | The target is set and has passed. | useCountdown.ts:10 |
remainingMs | number | Milliseconds left, never negative. | useCountdown.ts:6 |