@fattureincloud/fic-design-system 0.4.16 → 0.4.17
Sign up to get free protection for your applications and to get access to all the features.
@@ -2,10 +2,12 @@
|
|
2
2
|
interface Props {
|
3
3
|
title: string;
|
4
4
|
type: 'success' | 'error' | 'warning' | 'info';
|
5
|
-
description: string;
|
6
|
-
question
|
5
|
+
description: string | JSX.Element;
|
6
|
+
question?: string;
|
7
7
|
actionText: string;
|
8
|
+
cancelText?: string;
|
8
9
|
onAction: () => void;
|
10
|
+
onCancel?: () => void;
|
9
11
|
isOpen: boolean;
|
10
12
|
setIsOpen: (state: boolean) => void;
|
11
13
|
isSmall?: boolean;
|