From ef03efcebc3a242171f86f6f9bd922717cd0efc6 Mon Sep 17 00:00:00 2001 From: Yevhen Martynenko Date: Thu, 19 Dec 2024 15:45:11 +0200 Subject: [PATCH] *feat upgrade react-table from 7 to 8 --- packages/ui/src/Table/Table.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/ui/src/Table/Table.tsx b/packages/ui/src/Table/Table.tsx index b9c0f063..16adcae8 100644 --- a/packages/ui/src/Table/Table.tsx +++ b/packages/ui/src/Table/Table.tsx @@ -46,8 +46,6 @@ import styles from './Table.module.scss' import styleConsts from '../../styles/constants/export.module.scss' import { useTrackTableState } from './useTrackTableState' -export type { Accessor, Cell, Renderer, Row, CellProps, HeaderGroup, TableInstance, TableState } from 'react-table' - export type PaginationOptions = Partial> /** @@ -119,7 +117,7 @@ type CustomTableProps = { canExpand?: (row: RowType) => boolean onCopy?: (data: (string | undefined)[][]) => void initialState?: InitialState - onStateChange?: (newState: TableState) => void + onStateChange?: (newState: TableState) => void } & CustomTableRowClickProps & DataTestProp