UNPKG

2.15 kBTypeScriptView Raw
1import { type ExtractPropTypes } from 'vue';
2export declare const switchProps: {
3 size: (NumberConstructor | StringConstructor)[];
4 loading: BooleanConstructor;
5 disabled: BooleanConstructor;
6 modelValue: import("vue").PropType<unknown>;
7 activeColor: StringConstructor;
8 inactiveColor: StringConstructor;
9 activeValue: {
10 type: import("vue").PropType<unknown>;
11 default: unknown;
12 };
13 inactiveValue: {
14 type: import("vue").PropType<unknown>;
15 default: unknown;
16 };
17};
18export type SwitchProps = ExtractPropTypes<typeof switchProps>;
19declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
20 size: (NumberConstructor | StringConstructor)[];
21 loading: BooleanConstructor;
22 disabled: BooleanConstructor;
23 modelValue: import("vue").PropType<unknown>;
24 activeColor: StringConstructor;
25 inactiveColor: StringConstructor;
26 activeValue: {
27 type: import("vue").PropType<unknown>;
28 default: unknown;
29 };
30 inactiveValue: {
31 type: import("vue").PropType<unknown>;
32 default: unknown;
33 };
34}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<ExtractPropTypes<{
35 size: (NumberConstructor | StringConstructor)[];
36 loading: BooleanConstructor;
37 disabled: BooleanConstructor;
38 modelValue: import("vue").PropType<unknown>;
39 activeColor: StringConstructor;
40 inactiveColor: StringConstructor;
41 activeValue: {
42 type: import("vue").PropType<unknown>;
43 default: unknown;
44 };
45 inactiveValue: {
46 type: import("vue").PropType<unknown>;
47 default: unknown;
48 };
49}>> & Readonly<{
50 onChange?: ((...args: any[]) => any) | undefined;
51 "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
52}>, {
53 disabled: boolean;
54 loading: boolean;
55 activeValue: unknown;
56 inactiveValue: unknown;
57}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
58export default _default;
59
\No newline at end of file