keep-vue
Version:
Keep Vue is an open-source component library built on top of Vue3 and Tailwind CSS. It offers a collection of pre-designed UI components and styles that you can easily integrate into your web applications.
33 lines (32 loc) • 1.42 kB
TypeScript
import type { ButtonHTMLAttributes } from "vue";
import type { ClassProps } from "../../utils/interface";
import { type ButtonColorVariant, type ButtonSizeVariant } from "./buttonTheme";
export interface ButtonProps extends /* @vue-ignore */ ButtonHTMLAttributes {
size?: keyof ButtonSizeVariant;
color?: keyof ButtonColorVariant;
variant?: "link" | "outline" | "softBg" | "default";
shape?: "circle" | "icon";
position?: "center" | "start" | "end";
radius?: "default" | "full";
}
declare function __VLS_template(): {
slots: {
default?(_: {}): any;
};
refs: {};
attrs: Partial<{}>;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import("vue").DefineComponent<ButtonProps & ClassProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ButtonProps & ClassProps> & Readonly<{}>, {
size: keyof ButtonSizeVariant;
color: keyof ButtonColorVariant;
variant: "link" | "outline" | "softBg" | "default";
radius: "default" | "full";
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};