We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21ff7b7 commit 84eb1b6Copy full SHA for 84eb1b6
src/Header/HeaderRow.tsx
@@ -54,7 +54,7 @@ const HeaderRow = <RecordType extends any>(props: RowProps<RecordType>) => {
54
const { column, colStart, colEnd, colSpan } = cell;
55
const fixedInfo = getCellFixedInfo(colStart, colEnd, flattenColumns, stickyOffsets);
56
57
- const additionalProps: React.HTMLAttributes<HTMLElement> = column?.onHeaderCell(column);
+ const additionalProps: React.HTMLAttributes<HTMLElement> = column?.onHeaderCell?.(column) || {};
58
59
return (
60
<Cell
0 commit comments