Browse Source

update builtInPlacements order

pull/2919/head
afc163 8 years ago
parent
commit
b10ff61272
  1. 2
      components/tooltip/index.jsx

2
components/tooltip/index.jsx

@ -85,12 +85,12 @@ export default class Tooltip extends React.Component {
return ( return (
<RcTooltip <RcTooltip
builtinPlacements={this.getPlacements()}
overlay={title} overlay={title}
visible={visible} visible={visible}
onPopupAlign={this.onPopupAlign} onPopupAlign={this.onPopupAlign}
ref="tooltip" ref="tooltip"
{...this.props} {...this.props}
builtinPlacements={this.getPlacements()}
onVisibleChange={this.onVisibleChange} onVisibleChange={this.onVisibleChange}
> >
{visible ? cloneElement(children, { className: childrenCls }) : children} {visible ? cloneElement(children, { className: childrenCls }) : children}

Loading…
Cancel
Save