mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
parent
7481b9a995
commit
24b9cbc9c3
5 changed files with 82 additions and 12 deletions
16
types/UIShell/HeaderAction.svelte.d.ts
vendored
16
types/UIShell/HeaderAction.svelte.d.ts
vendored
|
@ -25,12 +25,26 @@ type $Props = {
|
|||
closeIcon?: any;
|
||||
|
||||
/**
|
||||
* Specify the text.
|
||||
* Specify the text displayed next to the icon.
|
||||
* Alternatively, use the named slot "text" (e.g., `<div slot="text">...</div>`)
|
||||
* @default undefined
|
||||
*/
|
||||
text?: string;
|
||||
|
||||
/**
|
||||
* Specify an icon tooltip. The tooltip will not be displayed
|
||||
* if either the `text` prop or a named slot="text" is used
|
||||
* @default undefined
|
||||
*/
|
||||
iconDescription?: string;
|
||||
|
||||
/**
|
||||
* Set the alignment of the tooltip relative to the icon.
|
||||
* Only applies when `iconDescription` is provided
|
||||
* @default "center"
|
||||
*/
|
||||
tooltipAlignment?: "start" | "center" | "end";
|
||||
|
||||
/**
|
||||
* Obtain a reference to the button HTML element
|
||||
* @default null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue