shadcn-vue-packed
Version:
A Vue component library that exports components from shadcn/vue.
27 lines (26 loc) • 1.1 kB
TypeScript
import { WithClassAsProps } from './interface';
import { ButtonVariants } from '../button';
type __VLS_Props = {
variant?: ButtonVariants['variant'];
size?: ButtonVariants['size'];
} & WithClassAsProps;
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {}): any;
};
refs: {};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
size: "default" | "sm" | "lg" | "icon" | null;
variant: "default" | "link" | "destructive" | "outline" | "secondary" | "ghost" | null;
}, {}, {}, {}, 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;
};
};