summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/models/modal.ts
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/src/app/models/modal.ts')
-rw-r--r--catalog-ui/src/app/models/modal.ts16
1 files changed, 16 insertions, 0 deletions
diff --git a/catalog-ui/src/app/models/modal.ts b/catalog-ui/src/app/models/modal.ts
new file mode 100644
index 0000000000..51aa5e19a7
--- /dev/null
+++ b/catalog-ui/src/app/models/modal.ts
@@ -0,0 +1,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;
+ }
+}
+