mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
docs(tooltip): remove unnecessary tooltipBodyId
in examples (#1271)
Fixes #1270
This commit is contained in:
parent
020b2e07b6
commit
3950496b7e
2 changed files with 4 additions and 4 deletions
|
@ -30,8 +30,8 @@ Use the named "legendText" slot to customize the legend text.
|
||||||
<RadioButtonGroup selected="standard">
|
<RadioButtonGroup selected="standard">
|
||||||
<div slot="legendText" style="display: flex">
|
<div slot="legendText" style="display: flex">
|
||||||
Storage tier (disk)
|
Storage tier (disk)
|
||||||
<Tooltip tooltipBodyId="tooltip-body">
|
<Tooltip>
|
||||||
<p id="tooltip-body">
|
<p>
|
||||||
Storage tiers may vary based on geolocation.
|
Storage tiers may vary based on geolocation.
|
||||||
</p>
|
</p>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
|
|
@ -12,8 +12,8 @@ components: ["Tooltip", "TooltipFooter"]
|
||||||
|
|
||||||
By default, the tooltip is triggered by an information icon.
|
By default, the tooltip is triggered by an information icon.
|
||||||
|
|
||||||
<Tooltip tooltipBodyId="tooltip-body">
|
<Tooltip>
|
||||||
<p id="tooltip-body">
|
<p>
|
||||||
Resources are provisioned based on your account's organization.
|
Resources are provisioned based on your account's organization.
|
||||||
</p>
|
</p>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue