Skip to content

Commit

Permalink
*feat upgrade react-table from 7 to 8
Browse files Browse the repository at this point in the history
  • Loading branch information
Sodik committed Dec 19, 2024
1 parent ce0a7a8 commit ef03efc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/ui/src/Table/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<Pick<PaginationProps, 'pageSizeOptions'>>

/**
Expand Down Expand Up @@ -119,7 +117,7 @@ type CustomTableProps<D extends object> = {
canExpand?: (row: RowType<D>) => boolean
onCopy?: (data: (string | undefined)[][]) => void
initialState?: InitialState
onStateChange?: (newState: TableState) => void
onStateChange?: (newState: TableState<D>) => void
} & CustomTableRowClickProps<D> &
DataTestProp

Expand Down

0 comments on commit ef03efc

Please sign in to comment.