feat(Child): add broke message and update button styles
This commit is contained in:
parent
4c94212b7f
commit
f243483688
5 changed files with 31 additions and 7 deletions
|
@ -1,6 +1,9 @@
|
|||
<h1>Parent</h1>
|
||||
<div class="m-3">
|
||||
<h1>Parent</h1>
|
||||
<p>Kontostand: {{ balance }}</p>
|
||||
<button type="button" class="px-3 py-1 border-[3px] border-black m-3" (click)=addFifty()>Add Money</button>
|
||||
<button type="button" class="button" (click)=addFifty()>Add Money</button>
|
||||
|
||||
<app-child [(balance)]="balance"></app-child>
|
||||
<app-child [(balance)]="balance"></app-child>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue