@pit-front-end/components
Version:
湖南创智艾泰克科技有限公司
29 lines (28 loc) • 1 kB
TypeScript
import { ExtractPropTypes } from 'vue';
export declare const switchProps: {
readonly modelValue: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly readonly: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly size: {
readonly type: import('vue').PropType<import('pit-element-plus/es/utils').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
readonly disabled: {
readonly type: BooleanConstructor;
readonly default: false;
};
};
export type SwitchProps = ExtractPropTypes<typeof switchProps>;
export declare const switchEmits: {
"update:modelValue": (value: string) => string;
input: (value: string) => string;
change: (value: string) => string;
};
export type SwitchEmits = typeof switchEmits;