Skip to content

@checkout-kit/ui / CountdownProps

Interface: CountdownProps ​

Properties ​

PropertyTypeDescription
children?(remaining, secondsLeft) => ReactNodeWording around the clock: (remaining) => 'Expires in ' + remaining.
className?string-
expiredLabel?ReactNode-
expiresAtstring | number | DateWhen it runs out. An ISO string, a Date, or epoch millis - action.expiresAt fits.
onExpire?() => void-
urgentBelowSeconds?numberBelow this many seconds the clock is marked urgent.

Apache-2.0 · Headless engine, provider adapters and runnable examples.