UNPKG

fine-true

Version:

A small and beautiful Vue3 version of the UI Library

50 lines (49 loc) 1.58 kB
import { PropType } from 'vue'; declare type SwitchSizeType = 'large' | 'default' | 'small'; declare const _default: import("vue").DefineComponent<{ modelValue: { default: boolean; }; size: { type: PropType<SwitchSizeType>; default: string; }; disabled: BooleanConstructor; activeColor: StringConstructor; inactiveColor: StringConstructor; activeValue: { default: boolean; }; inactiveValue: { default: boolean; }; confirm: FunctionConstructor; }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ modelValue: { default: boolean; }; size: { type: PropType<SwitchSizeType>; default: string; }; disabled: BooleanConstructor; activeColor: StringConstructor; inactiveColor: StringConstructor; activeValue: { default: boolean; }; inactiveValue: { default: boolean; }; confirm: FunctionConstructor; }>> & { onChange?: ((...args: any[]) => any) | undefined; "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; }, { disabled: boolean; size: SwitchSizeType; modelValue: boolean; activeValue: boolean; inactiveValue: boolean; }>; export default _default;