identity-admin-ui 1.11.23 → 1.11.25
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/lib/cjs/index.js +1 -1
- package/lib/cjs/types/components/Dialog/ActionDialog.d.ts +24 -0
- package/lib/cjs/types/components/index.d.ts +1 -0
- package/lib/esm/index.js +1 -1
- package/lib/esm/types/components/Dialog/ActionDialog.d.ts +24 -0
- package/lib/esm/types/components/index.d.ts +1 -0
- package/lib/index.d.ts +26 -1
- package/package.json +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface ActionDialogProps {
|
|
2
|
+
open: boolean;
|
|
3
|
+
/** Title to display when isSecondaryAction is false */
|
|
4
|
+
title: string;
|
|
5
|
+
/** Message to display when isSecondaryAction is false */
|
|
6
|
+
message?: string;
|
|
7
|
+
/** Title to display when isSecondaryAction is true */
|
|
8
|
+
secondaryTitle?: string;
|
|
9
|
+
/** Message to display when isSecondaryAction is true */
|
|
10
|
+
secondaryMessage?: string;
|
|
11
|
+
/** Determines which action to perform */
|
|
12
|
+
isSecondaryAction?: boolean;
|
|
13
|
+
/** Function to call when the dialog is closed */
|
|
14
|
+
onClose: () => void;
|
|
15
|
+
/** Function to call when isSecondaryAction is false */
|
|
16
|
+
onAction?: () => void;
|
|
17
|
+
/** Function to call when isSecondaryAction is true */
|
|
18
|
+
onSecondaryAction?: () => void;
|
|
19
|
+
/** Button text for primary action */
|
|
20
|
+
buttonText?: string;
|
|
21
|
+
/** Button text for secondary action */
|
|
22
|
+
secondaryButtonText?: string;
|
|
23
|
+
}
|
|
24
|
+
export declare function ActionDialog({ open, title, message, secondaryTitle, secondaryMessage, isSecondaryAction, onClose, onAction, onSecondaryAction, secondaryButtonText, buttonText, }: ActionDialogProps): import("react/jsx-runtime").JSX.Element;
|