packages/components/eui-avatar/avatar-icon/avatar-icon.component.ts
Component representing an avatar icon. This component serves as a container for icons within an avatar. It applies the appropriate styling and structure needed for avatar icons.
The component simply wraps its content with the 'eui-avatar-icon' class styling. Used for displaying icons as avatar content instead of images or text.
Example :<eui-avatar>
<eui-avatar-icon>
<eui-icon-svg icon="eui-user" />
</eui-avatar-icon>
</eui-avatar>| changeDetection | ChangeDetectionStrategy.OnPush |
| host | { |
| selector | eui-avatar-icon |
| template | |
| styleUrl | ./avatar-icon.scss |