Avatar
evergreen-avatar
is a package exporting a Avatar
React component.
Avatars display a circle containing a user profile image.
If the image is not available, the initials will be shown.
Design Example
Prop types and default props
static propTypes = ...ImagepropTypes size: PropTypesnumber name: PropTypesstring // hash value defaults to name hashValue: PropTypesstring hash: PropTypesfunc isSolid: PropTypesbool appearance: PropTypes getInitials: PropTypesfunc static defaultProps = size: 24 hash: globalHash isSolid: false getInitials: globalGetInitials