feat: add hotel item component and search functionality
This commit is contained in:
parent
f243483688
commit
339dac3999
13 changed files with 97 additions and 9 deletions
|
@ -1 +1,4 @@
|
|||
<app-parent></app-parent>
|
||||
<app-search [(input)]="search"></app-search>
|
||||
<div *ngFor="let hotel of hotels">
|
||||
<app-hotel-item *ngIf="hotel.hotelName.includes(search)" [hotel]="hotel"></app-hotel-item>
|
||||
</div>
|
||||
|
|
Reference in a new issue