@fattureincloud/fic-design-system 0.17.2 → 0.17.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,19 +1,20 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { buttonColors } from '../buttons/button/types';
|
3
3
|
interface Props {
|
4
|
-
title?: string;
|
5
|
-
type: 'success' | 'error' | 'warning' | 'info';
|
6
|
-
description: string | JSX.Element;
|
7
|
-
question?: string;
|
8
4
|
actionText: string;
|
5
|
+
cancelColor?: buttonColors;
|
9
6
|
cancelText?: string;
|
7
|
+
customHeader?: JSX.Element;
|
8
|
+
description: string | JSX.Element;
|
9
|
+
disableAction?: boolean;
|
10
|
+
isOpen: boolean;
|
11
|
+
isSmall?: boolean;
|
10
12
|
onAction: () => void;
|
11
13
|
onCancel?: () => void;
|
12
|
-
|
14
|
+
question?: string;
|
13
15
|
setIsOpen: (state: boolean) => void;
|
14
|
-
|
15
|
-
|
16
|
-
customHeader?: JSX.Element;
|
16
|
+
title?: string;
|
17
|
+
type: 'success' | 'error' | 'warning' | 'info';
|
17
18
|
}
|
18
19
|
export declare const ConfirmationModal: (props: Props) => React.JSX.Element;
|
19
20
|
export {};
|