Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | 2x 2x 6x | import { ChangeDetectionStrategy, Component, Input } from '@angular/core'; import { ProductNotification } from '../../../models/product-notification/product-notification.model'; type ProductNotificationsColumnsType = 'productImage' | 'product' | 'notification' | 'notificationEditDelete'; @Component({ selector: 'ish-account-product-notifications-list', templateUrl: './account-product-notifications-list.component.html', styleUrls: ['./account-product-notifications-list.component.scss'], changeDetection: ChangeDetectionStrategy.OnPush, }) export class AccountProductNotificationsListComponent { @Input() productNotifications: ProductNotification[]; @Input() columnsToDisplay: ProductNotificationsColumnsType[] = [ 'productImage', 'product', 'notification', 'notificationEditDelete', ]; } |