CountdownCircle
Element for counting down time
import { CountdownCircle } from '@ensdomains/thorin'
<CountdownCircle countdownSeconds={30} />
name | type | default |
---|---|---|
accessibilityLabel | string | - |
callback | () => void | - |
color | any | textSecondary |
countdownSeconds* Required | number | - |
disabled | boolean | - |
ref | Ref<HTMLDivElement> | - |
size | "small" | "large" | small |
startTimestamp | number | - |
<DeleteMe flexDirection="row"><CountdownCircle color="blue" countdownSeconds={30} /><CountdownCircle color="green" countdownSeconds={30} /><CountdownCircle color="indigo" countdownSeconds={30} /></DeleteMe>
<DeleteMe flexDirection="row"><CountdownCircle countdownSeconds={30} size="small" /><CountdownCircle countdownSeconds={30} size="large" /></DeleteMe>
<CountdownCircle countdownSeconds={30} disabled />