import { Box, BoxProps, chakra } from '@chakra-ui/react' import { flexRender, HeaderGroup } from '@tanstack/react-table' import React from 'react' import { TableData } from 'services/typebots/results' type Props = { headerGroup: HeaderGroup } export const HeaderRow = ({ headerGroup }: Props) => { return ( {headerGroup.headers.map((header) => { return ( {header.isPlaceholder ? null : flexRender(header.column.columnDef.header, header.getContext())} {header.column.getCanResize() && ( )} ) })} ) } const ResizeHandle = (props: BoxProps) => { return ( ) }