@inceptionbg/iui 2.0.33 → 2.0.34
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/dist/index.d.ts
CHANGED
|
@@ -707,6 +707,7 @@ type BaseProps = {
|
|
|
707
707
|
desc?: string;
|
|
708
708
|
descEl?: ReactNode;
|
|
709
709
|
onFormSubmit?: () => void;
|
|
710
|
+
onCloseCallback?: () => void;
|
|
710
711
|
isLoading?: boolean;
|
|
711
712
|
footer?: IDialogFooterActions;
|
|
712
713
|
isKeyboardDisabled?: boolean;
|
|
@@ -720,7 +721,6 @@ type BaseProps = {
|
|
|
720
721
|
};
|
|
721
722
|
type ImperativeDialogProps = {
|
|
722
723
|
control: ILocalPopupControl;
|
|
723
|
-
onCloseCallback?: () => void;
|
|
724
724
|
isOpen?: never;
|
|
725
725
|
onClose?: undefined;
|
|
726
726
|
};
|
|
@@ -728,7 +728,6 @@ type DeclarativeDialogProps = {
|
|
|
728
728
|
isOpen: boolean;
|
|
729
729
|
onClose: () => void;
|
|
730
730
|
control?: never;
|
|
731
|
-
onCloseCallback?: undefined;
|
|
732
731
|
};
|
|
733
732
|
type Props$k = BaseProps & (ImperativeDialogProps | DeclarativeDialogProps);
|
|
734
733
|
declare const Dialog: FC<Props$k>;
|