UNPKG

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