The Avatar component which can display the person's image, initials, or an icon, and can be either circular or square.
npm install --save @xterr/react-bootstrap-avataror:
yarn add @xterr/react-bootstrap-avatarTo import Avatar:
import { Avatar } from '@xterr/react-bootstrap-avatar';<Avatar name="Miguel Garcia" />
<Avatar size={72} name="Mona Kane" image="./MonaKane.jpg" />
<Avatar shape="square" icon={<IDBadgeIcon />} />Displaying a badge:
<Avatar name="Allan Munger" badge={<PresenceBadge status="busy">} />With active state indication:
<Avatar name="Daisy Phillips" active={true} activeAppearance="ring-shadow" />
<Avatar name="Robin Counts" active={false} activeAppearance="ring-shadow" />