@engie-group/fluid-design-system-angular
Version:
Fluid Design System Angular
7 lines (6 loc) • 326 B
HTML
<div aria-hidden="true" class="nj-skeleton nj-skeleton--area" [style.height]="height" [style.width]="width">
<nj-icon class="nj-skeleton__icon" *ngIf="!hasCustomIcon" [name]="icon" size="xl" variant="inherit"></nj-icon>
<span *ngIf="hasCustomIcon" class="nj-skeleton__icon">
<ng-content></ng-content>
</span>
</div>