@fattureincloud/fic-design-system 0.4.10 → 0.4.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,11 +4,12 @@ export declare type fileUploaderOnDrop = (acceptedFiles: File[], rejectedFiles:
4
4
  export interface FileUploaderProps {
5
5
  allowedTypes: FileType[];
6
6
  className?: string;
7
+ maxFileSize?: number;
7
8
  multiple?: boolean;
8
9
  onDrop: fileUploaderOnDrop;
9
10
  size?: FileUploaderSize;
10
11
  status?: FileUploaderStatus;
11
12
  customPalette?: CustomPalette;
12
13
  }
13
- declare const FileUploader: ({ allowedTypes, customPalette, className, multiple, onDrop, size, status, }: FileUploaderProps) => JSX.Element;
14
+ declare const FileUploader: ({ allowedTypes, customPalette, className, maxFileSize, multiple, onDrop, size, status, }: FileUploaderProps) => JSX.Element;
14
15
  export default FileUploader;
@@ -1,9 +1,7 @@
1
- import { Key } from 'react';
2
1
  import { ColumnInstance } from 'react-table';
3
2
  import { TableData } from '../../types';
4
3
  interface LoadingCellProps<T extends TableData> {
5
4
  column: ColumnInstance<T>;
6
- key: Key;
7
5
  }
8
- declare const LoadingCell: <T extends TableData>({ column, key }: LoadingCellProps<T>) => JSX.Element;
6
+ declare const LoadingCell: <T extends TableData>({ column }: LoadingCellProps<T>) => JSX.Element;
9
7
  export default LoadingCell;