vant
Version:
Mobile UI Components built on Vue
17 lines (16 loc) • 541 B
TypeScript
import type { ComponentPublicInstance } from 'vue';
import type { CurrentTime } from '@vant/use';
import type { CountDownProps } from './CountDown';
type CountDownExpose = {
start: () => void;
pause: () => void;
reset: () => void;
};
export type CountDownInstance = ComponentPublicInstance<CountDownProps, CountDownExpose>;
export type CountDownCurrentTime = CurrentTime;
export type CountDownThemeVars = {
countDownTextColor?: string;
countDownFontSize?: string;
countDownLineHeight?: number | string;
};
export {};