Skip to content

Commit

Permalink
docs(tooltip): use Button instead of Information icon in mdx docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tay1orjones committed Jul 19, 2024
1 parent 2b6137f commit f80393a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/react/src/components/Toggletip/Toggletip.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ you'll need to include a `Toggletip`, `ToggletipButton` for the trigger, and

```jsx
import { Toggletip, ToggletipButton, ToggletipContent } from '@carbon/react';
import { SquareOutline } from '@carbon/react/icons';
import { Information } from '@carbon/react/icons';

<Toggletip>
<ToggletipButton label="Additional information">
<SquareOutline />
<Information />
</ToggletipButton>
<ToggletipContent>
<p>Custom content here</p>
Expand Down Expand Up @@ -71,7 +71,7 @@ example:
```jsx
<Toggletip>
<ToggletipButton label="Show information">
<SquareOutline />
<Information />
</ToggletipButton>
<ToggletipContent>
<p>
Expand Down

0 comments on commit f80393a

Please sign in to comment.