bootstrap-vue-next
Version:
BootstrapVueNext is an early and lovely component library for Vue 3 & Nuxt 3 based on Bootstrap 5 and Typescript.
70 lines (69 loc) • 2.91 kB
TypeScript
import { BAvatarProps } from '../../types/ComponentProps';
import { Size } from '../../types';
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: Readonly<{
badge?: (props: Record<string, never>) => any;
default?: (props: Record<string, never>) => any;
}> & {
badge?: (props: Record<string, never>) => any;
default?: (props: Record<string, never>) => any;
};
refs: {};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<BAvatarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
click: (value: MouseEvent) => any;
"img-error": (value: Event) => any;
}, string, import('vue').PublicProps, Readonly<BAvatarProps> & Readonly<{
onClick?: ((value: MouseEvent) => any) | undefined;
"onImg-error"?: ((value: Event) => any) | undefined;
}>, {
disabled: boolean;
size: import('../..').LiteralUnion<Size, import('../../types/CommonTypes').Numberish>;
button: boolean;
text: string;
underlineOffset: import('../..').UnderlineOffset;
underlineOffsetHover: import('../..').UnderlineOffset;
underlineOpacity: import('../..').UnderlineOpacity;
underlineOpacityHover: import('../..').UnderlineOpacity;
underlineVariant: import('../..').ColorVariant | null;
active: boolean;
activeClass: string;
exactActiveClass: string;
href: string;
opacity: import('../..').LinkOpacity;
opacityHover: import('../..').LinkOpacity;
rel: string;
replace: boolean;
routerComponentName: string;
stretched: boolean;
target: import('../..').LinkTarget;
variant: import('../..').ColorVariant | null;
bgVariant: import('../../types/ColorTypes').BgColorVariant | null;
textVariant: import('../..').TextColorVariant | null;
alt: string;
badge: boolean | string;
badgeBgVariant: import('../../types/ColorTypes').BgColorVariant | null;
badgePlacement: import('../..').CombinedPlacement;
badgeTextVariant: import('../..').TextColorVariant | null;
badgeVariant: import('../..').ColorVariant | null;
badgePill: boolean;
badgeDotIndicator: boolean;
buttonType: import('../..').ButtonType;
square: boolean;
src: string;
rounded: boolean | import('../..').RadiusElement;
roundedTop: boolean | import('../..').RadiusElement;
roundedBottom: boolean | import('../..').RadiusElement;
roundedStart: boolean | import('../..').RadiusElement;
roundedEnd: boolean | import('../..').RadiusElement;
}, {}, {}, {}, 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;
};
};