@bitrix24/b24ui-nuxt
Version:
Bitrix24 UI-Kit for developing web applications REST API for NUXT & VUE
205 lines (204 loc) • 4.4 kB
TypeScript
import type { VariantProps } from 'tailwind-variants';
declare const avatarGroup: import("tailwind-variants").TVReturnType<{
size: {
"3xs": {
base: string;
};
"2xs": {
base: string;
};
xs: {
base: string;
};
sm: {
base: string;
};
md: {
base: string;
};
lg: {
base: string;
};
xl: {
base: string;
};
"2xl": {
base: string;
};
"3xl": {
base: string;
};
};
}, {
root: string;
base: string;
}, undefined, {
size: {
"3xs": {
base: string;
};
"2xs": {
base: string;
};
xs: {
base: string;
};
sm: {
base: string;
};
md: {
base: string;
};
lg: {
base: string;
};
xl: {
base: string;
};
"2xl": {
base: string;
};
"3xl": {
base: string;
};
};
}, {
root: string;
base: string;
}, import("tailwind-variants").TVReturnType<{
size: {
"3xs": {
base: string;
};
"2xs": {
base: string;
};
xs: {
base: string;
};
sm: {
base: string;
};
md: {
base: string;
};
lg: {
base: string;
};
xl: {
base: string;
};
"2xl": {
base: string;
};
"3xl": {
base: string;
};
};
}, {
root: string;
base: string;
}, undefined, {
size: {
"3xs": {
base: string;
};
"2xs": {
base: string;
};
xs: {
base: string;
};
sm: {
base: string;
};
md: {
base: string;
};
lg: {
base: string;
};
xl: {
base: string;
};
"2xl": {
base: string;
};
"3xl": {
base: string;
};
};
}, {
root: string;
base: string;
}, import("tailwind-variants").TVReturnType<{
size: {
"3xs": {
base: string;
};
"2xs": {
base: string;
};
xs: {
base: string;
};
sm: {
base: string;
};
md: {
base: string;
};
lg: {
base: string;
};
xl: {
base: string;
};
"2xl": {
base: string;
};
"3xl": {
base: string;
};
};
}, {
root: string;
base: string;
}, undefined, unknown, unknown, undefined>>>;
type AvatarGroupVariants = VariantProps<typeof avatarGroup>;
export interface AvatarGroupProps {
/**
* The element or component this component should render as.
* @defaultValue 'div'
*/
as?: any;
/**
* @defaultValue 'md'
*/
size?: AvatarGroupVariants['size'];
/**
* The maximum number of avatars to display.
*/
max?: number | string;
class?: any;
b24ui?: Partial<typeof avatarGroup.slots>;
}
export interface AvatarGroupSlots {
default(props?: {}): any;
}
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<AvatarGroupProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<AvatarGroupProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<AvatarGroupSlots> & AvatarGroupSlots>;
export default _default;
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
type __VLS_TypePropsToOption<T> = {
[K in keyof T]-?: {} extends Pick<T, K> ? {
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
} : {
type: import('vue').PropType<T[K]>;
required: true;
};
};
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};