tdesign-mobile-vue
Version:
tdesign-mobile-vue
53 lines (52 loc) • 1.54 kB
TypeScript
import { TdLoadingProps } from './type';
import { PropType } from 'vue';
declare const _default: {
attach: {
type: PropType<import("..").AttachNode>;
default: string;
};
content: {
type: PropType<string | ((h: typeof import("vue").h) => import("..").SlotReturnValue)>;
};
default: {
type: PropType<string | ((h: typeof import("vue").h) => import("..").SlotReturnValue)>;
};
delay: {
type: NumberConstructor;
default: number;
};
duration: {
type: NumberConstructor;
default: number;
};
fullscreen: BooleanConstructor;
indicator: {
type: PropType<boolean | ((h: typeof import("vue").h) => import("..").SlotReturnValue)>;
default: boolean;
};
inheritColor: BooleanConstructor;
layout: {
type: PropType<"vertical" | "horizontal">;
default: "vertical" | "horizontal";
validator(val: TdLoadingProps['layout']): boolean;
};
loading: {
type: BooleanConstructor;
default: boolean;
};
pause: BooleanConstructor;
reverse: BooleanConstructor;
size: {
type: StringConstructor;
default: string;
};
text: {
type: PropType<string | ((h: typeof import("vue").h) => import("..").SlotReturnValue)>;
};
theme: {
type: PropType<"circular" | "spinner" | "dots">;
default: "circular" | "spinner" | "dots";
validator(val: TdLoadingProps['theme']): boolean;
};
};
export default _default;