@datametria/vue-components
Version:
DATAMETRIA Vue.js 3 Component Library with Multi-Brand Theming - 51 components + 10 composables with theming support, WCAG 2.2 AA, dark mode, responsive system
35 lines (34 loc) • 1.19 kB
TypeScript
interface Props {
label?: string;
variant?: 'primary' | 'secondary' | 'success' | 'warning' | 'error';
closable?: boolean;
clickable?: boolean;
}
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
icon?(_: {}): any;
default?(_: {}): any;
};
refs: {};
rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
click: () => any;
close: () => any;
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
onClick?: (() => any) | undefined;
onClose?: (() => any) | undefined;
}>, {
variant: "primary" | "secondary" | "success" | "warning" | "error";
closable: boolean;
clickable: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};