Skip to content

Commit

Permalink
docs(Tooltip): update uncontrolled tooltip content
Browse files Browse the repository at this point in the history
  • Loading branch information
emyarod committed Aug 25, 2020
1 parent e58d7a4 commit 71b0ac5
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion packages/react/src/components/Tooltip/Tooltip-story.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,17 @@ function UncontrolledTooltipExample() {
triggerText={<div>My text wrapped with tooltip</div>}
open={value}
showIcon={false}>
Some text
<p id="tooltip-body">
This is some tooltip text. This box shows the maximum amount of text
that should appear inside. If more room is needed please use a modal
instead.
</p>
<div className={`${prefix}--tooltip__footer`}>
<a href="/" className={`${prefix}--link`}>
Learn More
</a>
<Button size="small">Create</Button>
</div>
</Tooltip>
</div>
</>
Expand Down

0 comments on commit 71b0ac5

Please sign in to comment.