fix(types): loosen icon prop type to any

This commit is contained in:
Eric Liu 2025-02-02 19:33:19 -08:00
commit 21c3de527d
42 changed files with 202 additions and 201 deletions

View file

@ -15,14 +15,14 @@ type $Props = {
* Defaults to `<Switcher size={20} />`
* @default undefined
*/
icon?: typeof import("svelte").SvelteComponent<any>;
icon?: any;
/**
* Specify the icon to render when the action panel is open.
* Defaults to `<Close size={20} />`
* @default undefined
*/
closeIcon?: typeof import("svelte").SvelteComponent<any>;
closeIcon?: any;
/**
* Specify the text.