tdesign-mobile-vue
Version:
tdesign-mobile-vue
36 lines (35 loc) • 1.06 kB
TypeScript
import { TdCountDownProps } from './type';
import { PropType } from 'vue';
declare const _default: {
autoStart: {
type: BooleanConstructor;
default: boolean;
};
content: {
type: PropType<string | ((h: typeof import("vue").h) => import("..").SlotReturnValue)>;
default: string;
};
format: {
type: StringConstructor;
default: string;
};
millisecond: BooleanConstructor;
size: {
type: PropType<"small" | "medium" | "large">;
default: "small" | "medium" | "large";
validator(val: TdCountDownProps['size']): boolean;
};
splitWithUnit: BooleanConstructor;
theme: {
type: PropType<"round" | "default" | "square">;
default: "round" | "default" | "square";
validator(val: TdCountDownProps['theme']): boolean;
};
time: {
type: NumberConstructor;
required: boolean;
};
onChange: PropType<(time: import("./type").TimeData) => void>;
onFinish: PropType<() => void>;
};
export default _default;