UNPKG

1.57 kBTypeScriptView Raw
1import { type ExtractPropTypes } from 'vue';
2export type LoadingType = 'circular' | 'spinner';
3export declare const loadingProps: {
4 size: (NumberConstructor | StringConstructor)[];
5 type: {
6 type: import("vue").PropType<LoadingType>;
7 default: LoadingType;
8 };
9 color: StringConstructor;
10 vertical: BooleanConstructor;
11 textSize: (NumberConstructor | StringConstructor)[];
12 textColor: StringConstructor;
13};
14export type LoadingProps = ExtractPropTypes<typeof loadingProps>;
15declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
16 size: (NumberConstructor | StringConstructor)[];
17 type: {
18 type: import("vue").PropType<LoadingType>;
19 default: LoadingType;
20 };
21 color: StringConstructor;
22 vertical: BooleanConstructor;
23 textSize: (NumberConstructor | StringConstructor)[];
24 textColor: StringConstructor;
25}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
26 size: (NumberConstructor | StringConstructor)[];
27 type: {
28 type: import("vue").PropType<LoadingType>;
29 default: LoadingType;
30 };
31 color: StringConstructor;
32 vertical: BooleanConstructor;
33 textSize: (NumberConstructor | StringConstructor)[];
34 textColor: StringConstructor;
35}>> & Readonly<{}>, {
36 type: LoadingType;
37 vertical: boolean;
38}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
39export default _default;