import { Box, BoxProps, chakra } from '@chakra-ui/react' import { HeaderGroup } from '@tanstack/react-table' import React from 'react' type Props = { // eslint-disable-next-line @typescript-eslint/no-explicit-any headerGroup: HeaderGroup } export const HeaderRow = ({ headerGroup }: Props) => { return ( {headerGroup.headers.map((header) => { return ( {header.isPlaceholder ? null : header.renderHeader()} {header.column.getCanResize() && ( )} ) })} ) } const ResizeHandle = (props: BoxProps) => { return ( ) }