mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 20:09:35 +00:00
feat(types): loosen type for Carbon icons #806
This commit is contained in:
parent
e7322acaae
commit
cf5a26fdd7
37 changed files with 160 additions and 160 deletions
2
types/ContextMenu/ContextMenuOption.d.ts
vendored
2
types/ContextMenu/ContextMenuOption.d.ts
vendored
|
@ -25,7 +25,7 @@ export interface ContextMenuOptionProps
|
|||
* Specify the icon from `carbon-icons-svelte` to render
|
||||
* Icon is rendered to the left of the label text
|
||||
*/
|
||||
icon?: typeof import("carbon-icons-svelte").CarbonIcon;
|
||||
icon?: typeof import("svelte").SvelteComponent;
|
||||
|
||||
/**
|
||||
* Specify the label text
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue