import { ComponentClass } from 'react' import AtComponent from './base' export interface AtAvatarProps extends AtComponent { /** * 头像大小 * @default 'normal' */ size/*;尺寸*/?: 'large'/*;大*/ | 'normal'/*;普通*/ | 'small'/*;小*/ /** * 头像是否圆形 * @default false */ circle/*;圆*/?: boolean /** * 以文字形式展示头像 */ text/*;文本*/?: string /** * 头像图片地址 */ image/*;图片*/?: string /** * 参考微信[开放数据](https://developers.weixin.qq.com/miniprogram/dev/component/open-data.html) * * **注意:** openData 仅支持 type 为 userAvatarUrl */ openData/*;打开数据*/?: { type/*;类型*/: 'userAvatarUrl'/*;用户头像网址*/ } } export interface AtAvatarState { isWEAPP/*;是微信*/: boolean _width/*;_宽*/?: number } declare const AtAvatar: ComponentClass export default AtAvatar