feat(types): loosen type for Carbon icons #806

This commit is contained in:
metonym 2021-10-15 07:53:58 -07:00
commit fcfe3c3ae4
37 changed files with 160 additions and 153 deletions

View file

@ -22,7 +22,7 @@ export interface SideNavLinkProps
/**
* Specify the icon from `carbon-icons-svelte` to render
*/
icon?: typeof import("carbon-icons-svelte").CarbonIcon;
icon?: typeof import("svelte").SvelteComponent;
/**
* Obtain a reference to the HTML anchor element

View file

@ -17,7 +17,7 @@ export interface SideNavMenuProps
/**
* Specify the icon from `carbon-icons-svelte` to render
*/
icon?: typeof import("carbon-icons-svelte").CarbonIcon;
icon?: typeof import("svelte").SvelteComponent;
/**
* Obtain a reference to the HTML button element