@glasnost-ui/vue
Version:
Vue 3 components for Glasnost UI with liquid glass aesthetics
33 lines (32 loc) • 1.12 kB
TypeScript
interface Props {
variant?: 'primary' | 'secondary' | 'accent';
size?: 'small' | 'medium' | 'large';
disabled?: boolean;
className?: string;
}
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {}): any;
};
refs: {};
rootEl: HTMLButtonElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
click: () => any;
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
onClick?: (() => any) | undefined;
}>, {
className: string;
variant: "primary" | "secondary" | "accent";
size: "small" | "medium" | "large";
disabled: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};