Browse Source

update tooltip delay

pull/36/merge
afc163 10 years ago
parent
commit
99f7579809
  1. 1
      components/popover/index.jsx
  2. 1
      components/tooltip/index.jsx
  3. 2
      package.json

1
components/popover/index.jsx

@ -32,6 +32,7 @@ export default React.createClass({
return ( return (
<Tooltip placement={this.props.placement} <Tooltip placement={this.props.placement}
prefixCls={prefixCls} prefixCls={prefixCls}
delay={0.1}
renderPopupToBody={false} renderPopupToBody={false}
transitionName={transitionName} transitionName={transitionName}
trigger={this.props.trigger} trigger={this.props.trigger}

1
components/tooltip/index.jsx

@ -19,6 +19,7 @@ module.exports = React.createClass({
return ( return (
<Tooltip placement={this.props.placement} <Tooltip placement={this.props.placement}
prefixCls="ant-tooltip" prefixCls="ant-tooltip"
delay={0.1}
trigger={this.props.trigger} trigger={this.props.trigger}
transitionName={transitionName} transitionName={transitionName}
overlay={this.props.title}> overlay={this.props.title}>

2
package.json

@ -23,7 +23,7 @@
"rc-select": "~4.0.0", "rc-select": "~4.0.0",
"rc-steps": "~1.1.2", "rc-steps": "~1.1.2",
"rc-tabs": "~5.1.0", "rc-tabs": "~5.1.0",
"rc-tooltip": "~2.2.3" "rc-tooltip": "~2.3.0"
}, },
"devDependencies": { "devDependencies": {
"css-animation": "~1.0.3", "css-animation": "~1.0.3",

Loading…
Cancel
Save