Skip to content

Commit

Permalink
Add className to header last th
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Dec 2, 2019
1 parent b04dca8 commit c00d95f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/TableHeaderRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ function TableHeaderRow({
[`${prefixCls}-align-${column.align}`]: !!column.align,
[`${prefixCls}-row-cell-ellipsis`]: !!column.ellipsis,
[`${prefixCls}-row-cell-break-word`]: !!column.width,
[`${prefixCls}-row-cell-last`]: i === row.length - 1,
});
return (
<HeaderCell {...cellProps} {...customProps} key={column.key || column.dataIndex || i} />
Expand Down

0 comments on commit c00d95f

Please sign in to comment.