blob: 4b814f0aad3f4f41f18ae2a0c1e20f2f4493f5f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
import {ModalType} from "./modal.type";
import {IButtonComponent} from "./modal-button.model";
export interface IModalConfig {
size?: string; // xl|l|md|sm|xsm
title?: string;
titleIcon?: TitleIconDetails;
message?: string;
buttons?: IModalButtonComponent[];
testId?: string;
type?: ModalType;
}
export interface IModalButtonComponent extends IButtonComponent {
id?: string;
callback?: () => void;
closeModal?: boolean;
}
export interface TitleIconDetails {
iconName?: string;
iconMode?: string;
iconSize?: string;
}
|