jiaqingjiayi-xiaochengxu/甲情_甲意/miniprogram/node_modules/antd-mini/less/Avatar/props.d.ts
2024-12-01 19:56:54 +08:00

17 lines
523 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { IBaseProps } from '../_util/base';
/**
* @description 头像,可展示头像以及用户名等简要信息。
*/
export interface IAvatarProps extends IBaseProps {
/**
* @description 尺寸x-small(80*80) small(88*88) medium(104*104) large(120*120)
* @default "medium"
*/
size: 'x-small' | 'small' | 'medium' | 'large';
/**
* @description 头像地址,默认为灰色的内置图片
*/
src: string;
}
export declare const AvatarDefaultProps: Partial<IAvatarProps>;