@start-base/start-ui
Version:
<p align="center"> <a href="https://startbase.dev" target="_blank"> <img src="https://startbase.dev/apple-touch-icon.png" width="60px" style="padding-top: 60px" /> </a> </p>
20 lines (16 loc) • 618 B
text/typescript
import React$1 from 'react';
type Type = 'withSeparator' | 'withLabels' | 'labelsUnder' | 'inBoxes' | 'default';
interface CountdownProps extends React.AllHTMLAttributes<HTMLDivElement> {
date: Date | number;
showDay?: boolean;
showHour?: boolean;
showMinute?: boolean;
showSecond?: boolean;
type?: Type;
itemClassName?: string;
rootClassName?: string;
valueClassName?: string;
labelClassName?: string;
}
declare const Countdown: React$1.ForwardRefExoticComponent<CountdownProps & React$1.RefAttributes<HTMLDivElement>>;
export { type CountdownProps, Countdown as default };