y-design-ssr
Version:
SSR component library of YUI with Vue3
83 lines (82 loc) • 2.15 kB
TypeScript
import { PropType, VNodeChild } from 'vue';
import { Size } from '../../utils';
declare const _default: import("vue").DefineComponent<{
size: {
type: PropType<Size>;
default: null;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
readonly: {
type: BooleanConstructor;
default: boolean;
};
modelValue: {
type: BooleanConstructor;
default: boolean;
};
activeValue: {
type: BooleanConstructor;
default: boolean;
};
inactiveValue: {
type: BooleanConstructor;
default: boolean;
};
activeColor: {
type: StringConstructor;
default: string;
};
inactiveColor: {
type: StringConstructor;
default: string;
};
}, () => VNodeChild, 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<{
size: {
type: PropType<Size>;
default: null;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
readonly: {
type: BooleanConstructor;
default: boolean;
};
modelValue: {
type: BooleanConstructor;
default: boolean;
};
activeValue: {
type: BooleanConstructor;
default: boolean;
};
inactiveValue: {
type: BooleanConstructor;
default: boolean;
};
activeColor: {
type: StringConstructor;
default: string;
};
inactiveColor: {
type: StringConstructor;
default: string;
};
}>> & {
onChange?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}, {
size: Size;
disabled: boolean;
modelValue: boolean;
activeColor: string;
inactiveColor: string;
readonly: boolean;
activeValue: boolean;
inactiveValue: boolean;
}>;
export default _default;