yozora-vue
Version:
Build beautiful, scalable UIs effortlessly with Yozora, a Vue 3 and Tailwind CSS component library focused on flexibility, responsiveness, and ease of customization. Perfect for developers seeking fast, maintainable, and utility-first design integration.
44 lines (43 loc) • 1.6 kB
TypeScript
/**
* Props for the Button component.
*
* @prop {string} size - The size of the button. Default is 'md'.
* @prop {string} color - The color of the button. Default is 'primary'.
* @prop {string} rounded - The rounded style of the button. Default is 'md'.
* @prop {boolean} outline - If true, the button will have an outline style. Default is false.
* @prop {boolean} textonly - If true, the button will be text only without background. Default is false.
* @prop {string} href - The URL the button should link to. Default is an empty string.
*/
interface ButtonProps {
size?: string;
color?: string;
rounded?: string;
outline?: boolean;
textonly?: boolean;
href?: string;
}
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {}): any;
default?(_: {}): any;
};
refs: {};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import("vue").DefineComponent<ButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ButtonProps> & Readonly<{}>, {
size: string;
color: string;
rounded: string;
outline: boolean;
textonly: boolean;
href: string;
}, {}, {}, {}, 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;
};
};