Fix bugs in attribute outputs page
[sdc.git] / catalog-ui / src / app / models / wizard-step.ts
1 /**
2  * Created by rc2122 on 8/16/2017.
3  */
4
5 import {Type} from "@angular/core";
6
7 export interface IStepComponent {
8     preventNext():boolean;
9     preventBack():boolean;
10 }
11
12 export class StepModel{
13     title: string;
14     component: Type<IStepComponent>;
15     constructor(title: string, component: Type<IStepComponent>){
16         this.title = title;
17         this.component = component;
18     }
19 }