Skip to content

Commit

Permalink
Merge pull request react-bootstrap#1421 from taion/tooltip-example
Browse files Browse the repository at this point in the history
Fix tooltip in copy example
  • Loading branch information
AlexKVal committed Oct 19, 2015
2 parents 36a332d + a90b561 commit 4901d2c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/examples/TooltipInCopy.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
const LinkWithTooltip = React.createClass({
render() {
let tooltip = <Tooltip placement="top">{this.props.tooltip}</Tooltip>;
let tooltip = <Tooltip>{this.props.tooltip}</Tooltip>;

return (
<OverlayTrigger overlay={tooltip} delayShow={300} delayHide={150}>
<OverlayTrigger
overlay={tooltip} placement="top"
delayShow={300} delayHide={150}
>
<a href={this.props.href}>{this.props.children}</a>
</OverlayTrigger>
);
Expand Down

0 comments on commit 4901d2c

Please sign in to comment.