import { Component, EventEmitter, Input, Output } from '@angular/core';

@Component({
    selector: 'knk-wizard-header',
    templateUrl: './wizardheader.component.html',
    styleUrls: ['./wizardheader.component.scss']
})
export class WizardHeaderComponent {
    @Input('pair') pair: string;
    @Input('exchange') exchange: string;
    @Output() cancel: EventEmitter<void> =  new EventEmitter<void>();
    discardAndCancel(): void {
        this.cancel.emit();
    }
}
