@wix/design-system
Version:
@wix/design-system
28 lines • 800 B
TypeScript
/**
* Avatar is a type of element that visually represents a user, either as an image, name initials or placeholder icon.
*/
export class Avatar extends React.PureComponent<any, any, any> {
static contextType: React.Context<{
newBrandingClass?: string;
mobile?: boolean;
contextClassName?: string;
}>;
constructor(props: any);
state: {
fadeIndication: boolean;
showIndication: boolean;
};
_onMouseEnter: () => void;
_onMouseLeave: () => void;
render(): React.JSX.Element;
}
export 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