add closeIcon attribute to HeaderAction

This commit is contained in:
Daniel Miedzik 2021-10-15 18:20:25 +02:00
commit fc9e8a6926
5 changed files with 29 additions and 2 deletions

View file

@ -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>)