@fattureincloud/fic-design-system 0.7.20 → 0.7.21-tmp-safari

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,6 +5,7 @@ interface BodyProps<T> extends Pick<TableProps<T>, 'rowSize' | 'bodyHeight' | 'r
5
5
  rows: Row<T>[];
6
6
  isLoading?: boolean;
7
7
  onRowClick?: (row: Row<T>) => void;
8
+ pageIndex: number;
8
9
  }
9
- declare const Body: <T>({ rows, rowSize, isLoading, onRowClick, bodyHeight, rowIdHighlight, rowHighlightColor, }: BodyProps<T>) => JSX.Element;
10
+ declare const Body: <T>({ rows, rowSize, isLoading, onRowClick, bodyHeight, rowIdHighlight, rowHighlightColor, pageIndex, }: BodyProps<T>) => JSX.Element;
10
11
  export default Body;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { ColumnDef } from '@tanstack/react-table';
3
+ import { CellProps } from '../../types';
4
+ interface Props<T> {
5
+ loadingMode: 'full' | 'cell';
6
+ columns: ColumnDef<T, CellProps>[];
7
+ }
8
+ declare const LoadingRow: <T>({ columns, loadingMode }: Props<T>) => JSX.Element;
9
+ export default LoadingRow;