moorr-react-mui 0.2.119 → 0.2.120
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.
- package/index.d.ts +6 -6
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -479,9 +479,9 @@ interface Props extends GraphingTileProps {
|
|
|
479
479
|
declare const VerticalTile: ({ graphingTile, graphingTileIndex }: Props) => JSX.Element | null;
|
|
480
480
|
|
|
481
481
|
interface ModalProps$1 {
|
|
482
|
-
onClose?: (modalResult?: any) => void |
|
|
483
|
-
onDismiss?: (modalResult?: any) => void |
|
|
484
|
-
onBackdropClick?: (event: any) => void;
|
|
482
|
+
onClose?: (modalResult?: any) => Promise<void> | void;
|
|
483
|
+
onDismiss?: (modalResult?: any) => Promise<void> | void;
|
|
484
|
+
onBackdropClick?: (event: any) => Promise<void> | void;
|
|
485
485
|
children: React.ReactNode;
|
|
486
486
|
showModal?: boolean;
|
|
487
487
|
fixedHeight?: string;
|
|
@@ -526,9 +526,9 @@ declare const modals: {
|
|
|
526
526
|
declare const toastMessage: (color: "info" | "success" | "warning" | "error", message: string) => void;
|
|
527
527
|
|
|
528
528
|
interface FadeModalProps {
|
|
529
|
-
onClose?: (modalResult?: any) => void |
|
|
530
|
-
onDismiss?: (modalResult?: any) => void |
|
|
531
|
-
onBackdropClick?: (event: any) => void;
|
|
529
|
+
onClose?: (modalResult?: any) => Promise<void> | void;
|
|
530
|
+
onDismiss?: (modalResult?: any) => Promise<void> | void;
|
|
531
|
+
onBackdropClick?: (event: any) => Promise<void> | void;
|
|
532
532
|
className?: string;
|
|
533
533
|
widthValue?: string;
|
|
534
534
|
heightValue?: string;
|