@volverjs/ui-vue
Version:
@volverjs/ui-vue is a lightweight Vue 3 component library to accompany @volverjs/style.
53 lines (52 loc) • 1.8 kB
TypeScript
import type { PropType } from 'vue';
import type { VvIconProps } from '../VvIcon';
declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
inputType: {
type: PropType<"input-text" | "select">;
default: string;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
label: {
type: StringConstructor;
default: string;
};
icon: {
type: PropType<string | VvIconProps>;
default: string;
};
}>, {
hasIcon: globalThis.ComputedRef<VvIconProps | undefined>;
onClick: (e: Event) => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "clear"[], "clear", import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
inputType: {
type: PropType<"input-text" | "select">;
default: string;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
label: {
type: StringConstructor;
default: string;
};
icon: {
type: PropType<string | VvIconProps>;
default: string;
};
}>> & Readonly<{
onClear?: ((...args: any[]) => any) | undefined;
}>, {
label: string;
disabled: boolean;
icon: string | VvIconProps;
inputType: "select" | "input-text";
}, {}, {
VvIcon: import("vue").DefineComponent<VvIconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<VvIconProps> & Readonly<{}>, {
prefix: import("../VvIcon").IconPrefix | string;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;