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