@wix/design-system
Version:
@wix/design-system
24 lines • 681 B
TypeScript
export default Avatar;
/**
* Avatar is a type of element that visually represents a user, either as an image, name initials or placeholder icon.
*/
declare class Avatar extends React.PureComponent<any, any, any> {
constructor(props: any);
state: {
fadeIndication: boolean;
showIndication: boolean;
};
_onMouseEnter: () => void;
_onMouseLeave: () => void;
render(): React.JSX.Element;
}
declare namespace Avatar {
let displayName: string;
namespace defaultProps {
let size: string;
let shape: string;
let showIndicationOnHover: boolean;
}
}
import React from 'react';
//# sourceMappingURL=Avatar.d.ts.map