///
import React, { CSSProperties, MouseEventHandler } from 'react';
import { AvatarPropsTypes } from './PropsType';
export interface AvatarProps extends AvatarPropsTypes {
prefixCls?: string;
className?: string;
style?: CSSProperties;
children?: string | any;
src?: string;
size?: 'xxs' | 'xs' | 'sm' | 'md' | 'lg';
onClick?: MouseEventHandler;
text?: string;
useRule?: boolean;
onLoadError?: any;
}
export default class Avatar extends React.Component {
static defaultProps: {
prefixCls: string;
size: string;
shape: string;
children: string;
useRule: boolean;
bgColor: string;
};
constructor(props: any);
onLoadError: () => any;
render(): JSX.Element;
}