@fattureincloud/fic-design-system 0.17.1 → 0.17.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,5 +5,6 @@ export declare const WithKnobs: Story<InputTextProps>;
5
5
  export declare const WithUnitDropdown: Story<InputTextProps>;
6
6
  export declare const CodeInputExample: Story<InputCodeProps>;
7
7
  export declare const TelephoneInputExample: Story<InputTelephoneProps>;
8
+ export declare const Readonly: Story<InputTextProps>;
8
9
  declare const InputTextStories: Meta<InputTextProps>;
9
10
  export default InputTextStories;
@@ -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
- isOpen: boolean;
14
+ question?: string;
13
15
  setIsOpen: (state: boolean) => void;
14
- isSmall?: boolean;
15
- cancelColor?: buttonColors;
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 {};