tdesign-mobile-vue
Version:
tdesign-mobile-vue
204 lines (203 loc) • 8 kB
TypeScript
import './style';
import { TdAvatarProps, TdAvatarGroupProps } from './type';
export * from './type';
export type AvatarProps = TdAvatarProps;
export type AvatarGroupProps = TdAvatarGroupProps;
export declare const Avatar: {
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
alt: {
type: StringConstructor;
default: string;
};
badgeProps: {
type: import("vue").PropType<TdAvatarProps['badgeProps']>;
};
hideOnLoadFailed: BooleanConstructor;
icon: {
type: import("vue").PropType<TdAvatarProps['icon']>;
};
image: {
type: StringConstructor;
default: string;
};
imageProps: {
type: import("vue").PropType<TdAvatarProps['imageProps']>;
};
shape: {
type: import("vue").PropType<TdAvatarProps['shape']>;
validator(val: TdAvatarProps['shape']): boolean;
};
size: {
type: StringConstructor;
default: string;
};
onError: import("vue").PropType<TdAvatarProps['onError']>;
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
alt: string;
hideOnLoadFailed: boolean;
image: string;
size: string;
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<import("vue").ExtractPropTypes<{
alt: {
type: StringConstructor;
default: string;
};
badgeProps: {
type: import("vue").PropType<TdAvatarProps['badgeProps']>;
};
hideOnLoadFailed: BooleanConstructor;
icon: {
type: import("vue").PropType<TdAvatarProps['icon']>;
};
image: {
type: StringConstructor;
default: string;
};
imageProps: {
type: import("vue").PropType<TdAvatarProps['imageProps']>;
};
shape: {
type: import("vue").PropType<TdAvatarProps['shape']>;
validator(val: TdAvatarProps['shape']): boolean;
};
size: {
type: StringConstructor;
default: string;
};
onError: import("vue").PropType<TdAvatarProps['onError']>;
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
alt: string;
hideOnLoadFailed: boolean;
image: string;
size: string;
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
alt: {
type: StringConstructor;
default: string;
};
badgeProps: {
type: import("vue").PropType<TdAvatarProps['badgeProps']>;
};
hideOnLoadFailed: BooleanConstructor;
icon: {
type: import("vue").PropType<TdAvatarProps['icon']>;
};
image: {
type: StringConstructor;
default: string;
};
imageProps: {
type: import("vue").PropType<TdAvatarProps['imageProps']>;
};
shape: {
type: import("vue").PropType<TdAvatarProps['shape']>;
validator(val: TdAvatarProps['shape']): boolean;
};
size: {
type: StringConstructor;
default: string;
};
onError: import("vue").PropType<TdAvatarProps['onError']>;
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
alt: string;
hideOnLoadFailed: boolean;
image: string;
size: string;
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin;
export declare const AvatarGroup: {
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
cascading: {
type: import("vue").PropType<TdAvatarGroupProps['cascading']>;
default: TdAvatarGroupProps['cascading'];
validator(val: TdAvatarGroupProps['cascading']): boolean;
};
collapseAvatar: {
type: import("vue").PropType<TdAvatarGroupProps['collapseAvatar']>;
};
max: {
type: NumberConstructor;
};
shape: {
type: import("vue").PropType<TdAvatarGroupProps['shape']>;
validator(val: TdAvatarGroupProps['shape']): boolean;
};
size: {
type: StringConstructor;
default: string;
};
onCollapsedItemClick: import("vue").PropType<TdAvatarGroupProps['onCollapsedItemClick']>;
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
cascading: import("@/components").CascadingValue;
size: string;
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<import("vue").ExtractPropTypes<{
cascading: {
type: import("vue").PropType<TdAvatarGroupProps['cascading']>;
default: TdAvatarGroupProps['cascading'];
validator(val: TdAvatarGroupProps['cascading']): boolean;
};
collapseAvatar: {
type: import("vue").PropType<TdAvatarGroupProps['collapseAvatar']>;
};
max: {
type: NumberConstructor;
};
shape: {
type: import("vue").PropType<TdAvatarGroupProps['shape']>;
validator(val: TdAvatarGroupProps['shape']): boolean;
};
size: {
type: StringConstructor;
default: string;
};
onCollapsedItemClick: import("vue").PropType<TdAvatarGroupProps['onCollapsedItemClick']>;
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
cascading: import("@/components").CascadingValue;
size: string;
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
cascading: {
type: import("vue").PropType<TdAvatarGroupProps['cascading']>;
default: TdAvatarGroupProps['cascading'];
validator(val: TdAvatarGroupProps['cascading']): boolean;
};
collapseAvatar: {
type: import("vue").PropType<TdAvatarGroupProps['collapseAvatar']>;
};
max: {
type: NumberConstructor;
};
shape: {
type: import("vue").PropType<TdAvatarGroupProps['shape']>;
validator(val: TdAvatarGroupProps['shape']): boolean;
};
size: {
type: StringConstructor;
default: string;
};
onCollapsedItemClick: import("vue").PropType<TdAvatarGroupProps['onCollapsedItemClick']>;
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
cascading: import("@/components").CascadingValue;
size: string;
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin;
export default Avatar;