aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/shared/components/messageModal/message-modal.model.ts
blob: d291440956c3a3035750ddd3c00e155bcc9efb42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import {ButtonType} from "../customModal/models/button.type";

export class MessageModalModel {
  title : string;
  text : string;
  type : 'error' | 'info' | 'success';
  buttons :  {text: string, size: string, type : ButtonType, closeModal: boolean}[];

  constructor( title : string, text : string, type , buttons : {text: string, size: string, type : ButtonType, closeModal: boolean}[]){
    this.title = title;
    this.text = text;
    this.type = type;
    this.buttons = buttons;
  }
}