Browse Source

Fix type error

Close #9931
pull/9948/head
Wei Zhu 7 years ago
parent
commit
43537ed368
  1. 2
      components/badge/ScrollNumber.tsx

2
components/badge/ScrollNumber.tsx

@ -106,7 +106,7 @@ export default class ScrollNumber extends Component<ScrollNumberProps, ScrollNum
return createElement('span', { return createElement('span', {
className: `${this.props.prefixCls}-only`, className: `${this.props.prefixCls}-only`,
style: { style: {
transition: removeTransition && 'none', transition: removeTransition ? 'none' : undefined,
msTransform: `translateY(${-position * 100}%)`, msTransform: `translateY(${-position * 100}%)`,
WebkitTransform: `translateY(${-position * 100}%)`, WebkitTransform: `translateY(${-position * 100}%)`,
transform: `translateY(${-position * 100}%)`, transform: `translateY(${-position * 100}%)`,

Loading…
Cancel
Save