libs/design/button/examples/src/statusable-button/statusable-button.component.ts
import {
ChangeDetectionStrategy,
Component,
} from '@angular/core';
import { FaIconComponent } from '@fortawesome/angular-fontawesome';
import {
faExclamation,
faExclamationTriangle,
faCheckCircle,
} from '@fortawesome/free-solid-svg-icons';
import { DAFF_BUTTON_COMPONENTS } from '@daffodil/design/button';
@Component({
// eslint-disable-next-line @angular-eslint/component-selector
selector: 'statusable-button',
templateUrl: './statusable-button.component.html',
styleUrls: ['./statusable-button.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [
DAFF_BUTTON_COMPONENTS,
FaIconComponent,
],
})
export class StatusableButtonComponent {
faExclamation = faExclamation;
faExclamationTriangle = faExclamationTriangle;
faCheckCircle = faCheckCircle;
}