We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 428c4bb commit 77e2b31Copy full SHA for 77e2b31
src/TableRow.tsx
@@ -48,7 +48,7 @@ const TableRow: React.FC<ITableRowProps> = (props) => {
48
49
50
// Generate classes for the header cell.
51
- const _rowClassName: string = (typeof column.rowCellClassName === "string" || !column.rowCellClassName) ? column.rowCellClassName : column.rowCellClassName(content, rowData, column.key, data, column, rowIndex);
+ const _rowClassName: string = (typeof column.rowCellClassName === "string" || !column.rowCellClassName) ? column.rowCellClassName as string : column.rowCellClassName(content, rowData, column.key, data, column, rowIndex);
52
const cellClasses: string = classNames(rowCellClassName, _rowClassName);
53
54
0 commit comments