import {Component, EventEmitter, Input, Output} from '@angular/core'; @Component({ selector: 'step', template: `
{{stepText}}
` }) export class StepComponent { @Input() status: 'active' | 'default' | 'disabled' | 'done'; @Input() stepId; @Input() stepNumber; @Input() stepText; @Input() active; @Output() stepChanged: EventEmitter = new EventEmitter(); @Input() showStepLine:boolean = false; }