Skip to content

Commit c00d95f

Browse files
committed
Add className to header last th
ant-design/ant-design#20030
1 parent b04dca8 commit c00d95f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/TableHeaderRow.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ function TableHeaderRow({
4848
[`${prefixCls}-align-${column.align}`]: !!column.align,
4949
[`${prefixCls}-row-cell-ellipsis`]: !!column.ellipsis,
5050
[`${prefixCls}-row-cell-break-word`]: !!column.width,
51+
[`${prefixCls}-row-cell-last`]: i === row.length - 1,
5152
});
5253
return (
5354
<HeaderCell {...cellProps} {...customProps} key={column.key || column.dataIndex || i} />

0 commit comments

Comments
 (0)