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 Sep 23, 2020
1 parent 29280da commit 9a937ec
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 @@ -110,7 +110,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 9a937ec

Please sign in to comment.