@risalabs_frontend_org/oasis-ui-kit 0.132.0 → 0.134.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./div-modal.scss";
|
|
3
|
+
interface DivModalProps {
|
|
4
|
+
dialogId: string;
|
|
5
|
+
onSave: () => void | Promise<void>;
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
title: string;
|
|
8
|
+
saveButtonText: string;
|
|
9
|
+
onCancel?: () => void | Promise<void>;
|
|
10
|
+
onClose?: () => void | Promise<void>;
|
|
11
|
+
cancelText: string;
|
|
12
|
+
heightPercentage?: number;
|
|
13
|
+
maxHeightPercentage?: number;
|
|
14
|
+
showSingleButton?: boolean;
|
|
15
|
+
disableSave?: boolean;
|
|
16
|
+
hideFooter?: boolean;
|
|
17
|
+
autoCloseOnSave?: boolean;
|
|
18
|
+
disableOnCloseFunc?: boolean;
|
|
19
|
+
hideCloseButton?: boolean;
|
|
20
|
+
disableCloseOnOutsideClick?: boolean;
|
|
21
|
+
}
|
|
22
|
+
export declare function DivModal(props: DivModalProps): React.ReactPortal | null;
|
|
23
|
+
export declare function openDivModal(arg0: string): void;
|
|
24
|
+
export declare function closeDivModal(arg0: string, onCloseFunc?: any): void;
|
|
25
|
+
export {};
|