summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/models/modal.ts
blob: 51aa5e19a78c42de378502d9f7caa587c48f4088 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { ButtonModel } from 'app/models';

export class ModalModel {
    size: string; 'xl|l|md|sm|xsm'
    title: string;
    content: any;
    buttons: Array<ButtonModel>;

    constructor(size?: string, title?: string, content?: any, buttons?: Array<ButtonModel>) {
        this.size = size;
        this.title = title;
        this.content = content;
        this.buttons = buttons;
    }
}