fix(types): update description for icon props #865

This commit is contained in:
metonym 2021-10-20 13:33:06 -07:00
commit ad7474f3f3
35 changed files with 119 additions and 119 deletions

View file

@ -62,13 +62,13 @@ export interface HeaderProps
ref?: null | HTMLAnchorElement;
/**
* Specify the icon from `carbon-icons-svelte` to render for the closed state
* Specify the icon to render for the closed state
* Defaults to `Menu20`
*/
iconMenu?: typeof import("svelte").SvelteComponent;
/**
* Specify the icon from `carbon-icons-svelte` to render for the opened state
* Specify the icon to render for the opened state
* Defaults to `Close20`
*/
iconClose?: typeof import("svelte").SvelteComponent;

View file

@ -16,12 +16,12 @@ export interface HeaderActionProps
isOpen?: boolean;
/**
* Specify the icon from `carbon-icons-svelte` to render
* Specify the icon to render
*/
icon?: typeof import("svelte").SvelteComponent;
/**
* Specify the close icon from `carbon-icons-svelte` to render
* Specify the icon to render when the action panel is open
*/
closeIcon?: typeof import("svelte").SvelteComponent;

View file

@ -15,7 +15,7 @@ export interface HeaderActionLinkProps
href?: string;
/**
* Specify the icon from `carbon-icons-svelte` to render
* Specify the icon to render
*/
icon?: typeof import("svelte").SvelteComponent;