comfirmation modal for deposit and refactoring
This commit is contained in:
parent
63db07b6ae
commit
caf2794489
8 changed files with 74 additions and 32 deletions
|
@ -0,0 +1,16 @@
|
|||
import {Component, EventEmitter, Input, Output} from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-confirmation',
|
||||
standalone: true,
|
||||
imports: [],
|
||||
templateUrl: './confirmation.component.html',
|
||||
})
|
||||
export class ConfirmationComponent {
|
||||
@Input() successful: boolean = true;
|
||||
@Output() close = new EventEmitter<void>();
|
||||
|
||||
public closeModal(){
|
||||
this.close.emit();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue