import React, { ReactElement } from 'react'; import { Row, HeaderProps, Hooks } from 'react-table'; import Checkbox from '../Checkbox'; const SelectionCheckbox = ( props: Omit, 'value' | 'text'> ): ReactElement => ( ); // eslint-disable-next-line @typescript-eslint/no-explicit-any export default >(hooks: Hooks): void => { hooks.visibleColumns.push(cols => [ { id: 'selection', Header: function Header({ getToggleAllRowsSelectedProps, }: HeaderProps): ReactElement { return ; }, Cell: function Cell({ row }: { row: Row }): ReactElement { return ; }, }, ...cols, ]); };