tdesign-mobile-vue
Version:
tdesign-mobile-vue
100 lines (99 loc) • 4.2 kB
TypeScript
import { TdSkeletonProps } from './type';
import './style';
export * from './type';
export type SkeletonProps = TdSkeletonProps;
export declare const Skeleton: {
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
animation: {
type: import("vue").PropType<"flashed" | "gradient" | "none">;
default: "flashed" | "gradient" | "none";
validator(val: "flashed" | "gradient" | "none"): boolean;
};
delay: {
type: NumberConstructor;
default: number;
};
loading: {
type: BooleanConstructor;
default: boolean;
};
rowCol: {
type: import("vue").PropType<import("@/components").SkeletonRowCol>;
};
theme: {
type: import("vue").PropType<"avatar" | "image" | "paragraph" | "text">;
default: "avatar" | "image" | "paragraph" | "text";
validator(val: "avatar" | "image" | "paragraph" | "text"): boolean;
};
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
animation: "flashed" | "gradient" | "none";
delay: number;
loading: boolean;
theme: "avatar" | "image" | "paragraph" | "text";
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<import("vue").ExtractPropTypes<{
animation: {
type: import("vue").PropType<"flashed" | "gradient" | "none">;
default: "flashed" | "gradient" | "none";
validator(val: "flashed" | "gradient" | "none"): boolean;
};
delay: {
type: NumberConstructor;
default: number;
};
loading: {
type: BooleanConstructor;
default: boolean;
};
rowCol: {
type: import("vue").PropType<import("@/components").SkeletonRowCol>;
};
theme: {
type: import("vue").PropType<"avatar" | "image" | "paragraph" | "text">;
default: "avatar" | "image" | "paragraph" | "text";
validator(val: "avatar" | "image" | "paragraph" | "text"): boolean;
};
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
animation: "flashed" | "gradient" | "none";
delay: number;
loading: boolean;
theme: "avatar" | "image" | "paragraph" | "text";
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
animation: {
type: import("vue").PropType<"flashed" | "gradient" | "none">;
default: "flashed" | "gradient" | "none";
validator(val: "flashed" | "gradient" | "none"): boolean;
};
delay: {
type: NumberConstructor;
default: number;
};
loading: {
type: BooleanConstructor;
default: boolean;
};
rowCol: {
type: import("vue").PropType<import("@/components").SkeletonRowCol>;
};
theme: {
type: import("vue").PropType<"avatar" | "image" | "paragraph" | "text">;
default: "avatar" | "image" | "paragraph" | "text";
validator(val: "avatar" | "image" | "paragraph" | "text"): boolean;
};
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
animation: "flashed" | "gradient" | "none";
delay: number;
loading: boolean;
theme: "avatar" | "image" | "paragraph" | "text";
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin;
export default Skeleton;