ModalOptions
type ModalOptions = {
data?: ModalContent;
formType?: FormType;
name?: string;
size?: ModalSize;
target?: string;
type: ModalType;
};
modal options
Properties
data?
optional data?: ModalContent;
content to display in warning / success / error / info modal types
formType?
optional formType?: FormType;
form type
name?
optional name?: string;
name of the form or tool
optional for warning / success / error / info modal type
size?
optional size?: ModalSize;
size of the modal
Default
ModalSize.EXTRA_LARGE
target?
optional target?: string;
target item
optional for warning / success / error / info modal type
type
type: ModalType;
type of the modal