mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
chore(tooltip-icon): rename slot to "tooltipText"
This commit is contained in:
parent
04b474675f
commit
f1fa61e30a
5 changed files with 20 additions and 20 deletions
4
types/TooltipIcon/TooltipIcon.d.ts
vendored
4
types/TooltipIcon/TooltipIcon.d.ts
vendored
|
@ -3,7 +3,7 @@
|
|||
export interface TooltipIconProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["button"]> {
|
||||
/**
|
||||
* Specify the tooltip text.
|
||||
* Alternatively, use the "text" slot
|
||||
* Alternatively, use the "tooltipText" slot
|
||||
* @default ""
|
||||
*/
|
||||
tooltipText?: string;
|
||||
|
@ -37,7 +37,7 @@ export default class TooltipIcon {
|
|||
$$prop_def: TooltipIconProps;
|
||||
$$slot_def: {
|
||||
default: {};
|
||||
text: {};
|
||||
tooltipText: {};
|
||||
};
|
||||
|
||||
$on(eventname: "click", cb: (event: WindowEventMap["click"]) => void): () => void;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue