mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
feat(tooltip-definition): make tooltipText slottable
This commit is contained in:
parent
6ae0e31011
commit
cc01b0fb5b
4 changed files with 78 additions and 22 deletions
2
types/index.d.ts
vendored
2
types/index.d.ts
vendored
|
@ -5174,7 +5174,7 @@ export class TooltipDefinition extends CarbonSvelteComponent {
|
|||
ref?: null | HTMLButtonElement;
|
||||
};
|
||||
|
||||
$$slot_def: { default: {} };
|
||||
$$slot_def: { default: {}; tooltip: {} };
|
||||
}
|
||||
|
||||
export class TooltipIcon extends CarbonSvelteComponent {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue