import {Component, Input, OnInit, Output} from '@angular/core'; import {Transaction} from '../../../_models'; @Component({ selector: 'app-transaction-details', templateUrl: './transaction-details.component.html', styleUrls: ['./transaction-details.component.scss'] }) export class TransactionDetailsComponent implements OnInit { @Input() transaction; constructor() { } ngOnInit(): void { } }