UNPKG

tdesign-mobile-vue

Version:
21 lines (20 loc) 511 B
import { TNode } from '../common'; export interface TdCountDownProps { autoStart?: boolean; content?: string | TNode; format?: string; millisecond?: boolean; size?: 'small' | 'medium' | 'large'; splitWithUnit?: boolean; theme?: 'default' | 'round' | 'square'; time: number; onChange?: (time: TimeData) => void; onFinish?: () => void; } export interface TimeData { days: number; hours: number; minutes: number; seconds: number; milliseconds: number; }