Skip to content

Commit

Permalink
fix(Table): pass affixProps to affix
Browse files Browse the repository at this point in the history
  • Loading branch information
youluna committed Nov 30, 2018
1 parent 552f747 commit 0540cba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/table/sticky/header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default class StickHeader extends React.Component {
const { Header, offsetTop, affixProps } = this.context;

const newAffixProps = affixProps || {};
const { className, others } = newAffixProps;
const { className, ...others } = newAffixProps;
const cls = classnames({
[`${prefix}table-affix`]: true,
className
Expand Down

0 comments on commit 0540cba

Please sign in to comment.