vue-star-plus
Version:
Plus version of vue-star component
39 lines (38 loc) • 1.28 kB
TypeScript
declare function isColor(color: string): boolean;
declare const _sfc_main: import("vue").DefineComponent<{
modelValue: BooleanConstructor;
animate: StringConstructor;
color: {
type: StringConstructor;
validator: typeof isColor;
};
type: {
type: StringConstructor;
default: string;
validator: (value: string) => boolean;
};
}, {
iconClass: import("vue").ComputedRef<string | undefined>;
iconStyle: import("vue").ComputedRef<{
color: string | undefined;
}>;
handleToggle: () => void;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
modelValue: BooleanConstructor;
animate: StringConstructor;
color: {
type: StringConstructor;
validator: typeof isColor;
};
type: {
type: StringConstructor;
default: string;
validator: (value: string) => boolean;
};
}>> & {
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}, {
modelValue: boolean;
type: string;
}>;
export default _sfc_main;