UNPKG

2.62 kBTypeScriptView Raw
1export declare const Skeleton: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2 row: {
3 type: (NumberConstructor | StringConstructor)[];
4 default: number;
5 };
6 round: BooleanConstructor;
7 title: BooleanConstructor;
8 titleWidth: (NumberConstructor | StringConstructor)[];
9 avatar: BooleanConstructor;
10 avatarSize: (NumberConstructor | StringConstructor)[];
11 avatarShape: {
12 type: import("vue").PropType<import("..").SkeletonAvatarShape>;
13 default: import("..").SkeletonAvatarShape;
14 };
15 loading: {
16 type: BooleanConstructor;
17 default: true;
18 };
19 animate: {
20 type: BooleanConstructor;
21 default: true;
22 };
23 rowWidth: {
24 type: import("vue").PropType<import("../utils").Numeric | import("../utils").Numeric[]>;
25 default: string;
26 };
27}>, () => import("vue/jsx-runtime").JSX.Element | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
28 [key: string]: any;
29}>[] | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
30 row: {
31 type: (NumberConstructor | StringConstructor)[];
32 default: number;
33 };
34 round: BooleanConstructor;
35 title: BooleanConstructor;
36 titleWidth: (NumberConstructor | StringConstructor)[];
37 avatar: BooleanConstructor;
38 avatarSize: (NumberConstructor | StringConstructor)[];
39 avatarShape: {
40 type: import("vue").PropType<import("..").SkeletonAvatarShape>;
41 default: import("..").SkeletonAvatarShape;
42 };
43 loading: {
44 type: BooleanConstructor;
45 default: true;
46 };
47 animate: {
48 type: BooleanConstructor;
49 default: true;
50 };
51 rowWidth: {
52 type: import("vue").PropType<import("../utils").Numeric | import("../utils").Numeric[]>;
53 default: string;
54 };
55}>> & Readonly<{}>, {
56 title: boolean;
57 animate: boolean;
58 round: boolean;
59 row: string | number;
60 loading: boolean;
61 avatarShape: import("..").SkeletonAvatarShape;
62 rowWidth: import("../utils").Numeric | import("../utils").Numeric[];
63 avatar: boolean;
64}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
65export default Skeleton;
66export { skeletonProps } from './Skeleton';
67export type { SkeletonProps } from './Skeleton';
68export type { SkeletonThemeVars } from './types';
69declare module 'vue' {
70 interface GlobalComponents {
71 VanSkeleton: typeof Skeleton;
72 }
73}