mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 20:09:35 +00:00
add closeIcon attribute to HeaderAction
This commit is contained in:
parent
a2494ad128
commit
fc9e8a6926
5 changed files with 29 additions and 2 deletions
5
types/UIShell/GlobalHeader/HeaderAction.d.ts
vendored
5
types/UIShell/GlobalHeader/HeaderAction.d.ts
vendored
|
@ -20,6 +20,11 @@ export interface HeaderActionProps
|
|||
*/
|
||||
icon?: typeof import("carbon-icons-svelte").CarbonIcon;
|
||||
|
||||
/**
|
||||
* Specify the close icon from `carbon-icons-svelte` to render
|
||||
*/
|
||||
closeIcon?: typeof import("carbon-icons-svelte").CarbonIcon;
|
||||
|
||||
/**
|
||||
* Specify the text
|
||||
* Alternatively, use the named slot "text" (e.g., <div slot="text">...</div>)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue