tav-ui
Version:
52 lines (51 loc) • 1.38 kB
TypeScript
import type { ExtractPropTypes, PropType } from 'vue';
export declare const countDownButtonProps: {
value: {
type: (StringConstructor | ObjectConstructor | ArrayConstructor | NumberConstructor)[];
};
count: {
type: NumberConstructor;
default: number;
};
beforeStartFunc: {
type: PropType<() => Promise<boolean>>;
default: null;
};
};
export declare type CountDownButtonProps = ExtractPropTypes<typeof countDownButtonProps>;
export declare const countDownProps: {
value: {
type: StringConstructor;
};
size: {
type: StringConstructor;
validator: (v: any) => boolean;
};
count: {
type: NumberConstructor;
default: number;
};
sendCodeApi: {
type: PropType<() => Promise<boolean>>;
default: null;
};
};
export declare type CountDownProps = ExtractPropTypes<typeof countDownProps>;
export declare const countDownInputProps: {
value: {
type: StringConstructor;
};
size: {
type: StringConstructor;
validator: (v: any) => boolean;
};
count: {
type: NumberConstructor;
default: number;
};
sendCodeApi: {
type: PropType<() => Promise<boolean>>;
default: null;
};
};
export declare type CountDownInputProps = ExtractPropTypes<typeof countDownInputProps>;