Skip to content

Commit 77e2b31

Browse files
committed
fix
1 parent 428c4bb commit 77e2b31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TableRow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const TableRow: React.FC<ITableRowProps> = (props) => {
4848

4949

5050
// 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);
51+
const _rowClassName: string = (typeof column.rowCellClassName === "string" || !column.rowCellClassName) ? column.rowCellClassName as string : column.rowCellClassName(content, rowData, column.key, data, column, rowIndex);
5252
const cellClasses: string = classNames(rowCellClassName, _rowClassName);
5353

5454

0 commit comments

Comments
 (0)