CountdownCircle
Element for counting down time
name | type | default | description |
|---|---|---|---|
| accessibilityLabel | string | - | - |
| callback | () => void | - | - |
| color | "accent" | "blue" | "green" | "yellow" | "red" | "orange" | "indigo" | "pink" | "purple" | "grey" | accent | - |
| countdownSeconds * Required | number | - | - |
| disabled | boolean | - | - |
| ref | null | string | (instance: HTMLDivElement | null) => void | RefObject<HTMLDivElement> | - | Allows getting a ref to the component instance.
Once the component unmounts, React will set `ref.current` to `null`
(or call the ref with `null` if you passed a callback ref).
@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs} |
| size | "small" | "large" | small | - |
| startTimestamp | number | - | - |