fix: badge scrollnumber

This commit is contained in:
Benjy Cui 2016-07-11 11:50:34 +08:00
parent bb03c89ebf
commit 6ee3da59c1

View File

@ -135,7 +135,7 @@ export default class ScrollNumber extends React.Component {
className: `${this.props.prefixCls} ${this.props.className}`,
});
return createElement(
component,
this.props.component,
props,
this.renderNumberElement()
);