import {
ChangeDetectionStrategy,
Component,
computed,
effect,
ElementRef,
input,
numberAttribute,
signal,
viewChild,
} from '@angular/core';
import type { IconName } from '@africanies/africanies-icons';
import { AfricaniesIconComponent } from '@africanies/africanies-icons';
/** Corner treatment for {@link ImageComponent}. */
export type ImageShape = 'circle' | 'rounded' | 'square';
/** How the image fills its frame. */
export type ImageFit = 'cover' | 'contain';
/**
* Image with a shaped loading frame and fallback while the asset fetches or if
* it fails to render.
*
* @example
* ```html
*