scaffold expense list
This commit is contained in:
parent
7bb21f8796
commit
fded7f7c09
22 changed files with 253 additions and 133 deletions
16
src/app/components/expense/expense.component.ts
Normal file
16
src/app/components/expense/expense.component.ts
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import {Component, input} from '@angular/core';
|
||||
import { Expense } from '../../services/expense.service';
|
||||
import {CurrencyPipe, DatePipe} from '@angular/common';
|
||||
|
||||
@Component({
|
||||
selector: 'app-expense',
|
||||
imports: [
|
||||
CurrencyPipe,
|
||||
DatePipe
|
||||
],
|
||||
templateUrl: './expense.component.html',
|
||||
styleUrl: './expense.component.scss',
|
||||
})
|
||||
export class ExpenseComponent {
|
||||
public expense = input.required<Expense>();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue