mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
fix(tooltip): support triggerText slot
This commit is contained in:
parent
b7e00f0d01
commit
dd5a395659
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@
|
|||
<div style="position: relative">
|
||||
{#if showIcon}
|
||||
<div bind:this={buttonRef} id={triggerId} class={cx('--tooltip__label', triggerClass)} {style}>
|
||||
{triggerText}
|
||||
<slot name="triggerText">{triggerText}</slot>
|
||||
<div
|
||||
bind:this={iconRef}
|
||||
{...buttonProps}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue