UNPKG

541 BTypeScriptView Raw
1import type { ComponentPublicInstance } from 'vue';
2import type { CurrentTime } from '@vant/use';
3import type { CountDownProps } from './CountDown';
4type CountDownExpose = {
5 start: () => void;
6 pause: () => void;
7 reset: () => void;
8};
9export type CountDownInstance = ComponentPublicInstance<CountDownProps, CountDownExpose>;
10export type CountDownCurrentTime = CurrentTime;
11export type CountDownThemeVars = {
12 countDownTextColor?: string;
13 countDownFontSize?: string;
14 countDownLineHeight?: number | string;
15};
16export {};