@engie-group/fluid-design-system-angular
Version:
Fluid Design System Angular
35 lines (29 loc) • 750 B
text/typescript
import { CommonModule } from '@angular/common';
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
import { IconComponent } from '../icon/icon.component';
({
selector: 'nj-skeleton-area',
templateUrl: './skeleton-area.component.html',
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [IconComponent, CommonModule]
})
export class SkeletonAreaComponent {
/**
* Area skeleton height
*/
() height?: string;
/**
* Area skeleton width
*/
() width?: string;
/**
* Area skeleton material icon
*/
() icon: string = 'image';
/**
* Whether Area skeleton has custom icon
*/
() hasCustomIcon = false;
constructor() {}
}