mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
fix(types): loosen icon
prop type to any
This commit is contained in:
parent
ece9e0362f
commit
21c3de527d
42 changed files with 202 additions and 201 deletions
4
types/UIShell/Header.svelte.d.ts
vendored
4
types/UIShell/Header.svelte.d.ts
vendored
|
@ -72,14 +72,14 @@ type $Props = {
|
|||
* Defaults to `<Menu size={20} />`
|
||||
* @default undefined
|
||||
*/
|
||||
iconMenu?: typeof import("svelte").SvelteComponent<any>;
|
||||
iconMenu?: any;
|
||||
|
||||
/**
|
||||
* Specify the icon to render for the opened state.
|
||||
* Defaults to `<Close size={20} />`
|
||||
* @default undefined
|
||||
*/
|
||||
iconClose?: typeof import("svelte").SvelteComponent<any>;
|
||||
iconClose?: any;
|
||||
|
||||
[key: `data-${string}`]: any;
|
||||
};
|
||||
|
|
4
types/UIShell/HeaderAction.svelte.d.ts
vendored
4
types/UIShell/HeaderAction.svelte.d.ts
vendored
|
@ -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.
|
||||
|
|
2
types/UIShell/HeaderActionLink.svelte.d.ts
vendored
2
types/UIShell/HeaderActionLink.svelte.d.ts
vendored
|
@ -20,7 +20,7 @@ type $Props = {
|
|||
* Specify the icon to render
|
||||
* @default undefined
|
||||
*/
|
||||
icon?: typeof import("svelte").SvelteComponent<any>;
|
||||
icon?: any;
|
||||
|
||||
/**
|
||||
* Obtain a reference to the HTML anchor element
|
||||
|
|
2
types/UIShell/HeaderGlobalAction.svelte.d.ts
vendored
2
types/UIShell/HeaderGlobalAction.svelte.d.ts
vendored
|
@ -12,7 +12,7 @@ export type HeaderGlobalActionProps = ButtonProps & {
|
|||
* Specify the icon to render
|
||||
* @default undefined
|
||||
*/
|
||||
icon?: typeof import("svelte").SvelteComponent<any>;
|
||||
icon?: any;
|
||||
|
||||
/**
|
||||
* Obtain a reference to the HTML button element
|
||||
|
|
2
types/UIShell/SideNavLink.svelte.d.ts
vendored
2
types/UIShell/SideNavLink.svelte.d.ts
vendored
|
@ -26,7 +26,7 @@ type $Props = {
|
|||
* Specify the icon to render
|
||||
* @default undefined
|
||||
*/
|
||||
icon?: typeof import("svelte").SvelteComponent<any>;
|
||||
icon?: any;
|
||||
|
||||
/**
|
||||
* Obtain a reference to the HTML anchor element
|
||||
|
|
2
types/UIShell/SideNavMenu.svelte.d.ts
vendored
2
types/UIShell/SideNavMenu.svelte.d.ts
vendored
|
@ -20,7 +20,7 @@ type $Props = {
|
|||
* Specify the icon to render
|
||||
* @default undefined
|
||||
*/
|
||||
icon?: typeof import("svelte").SvelteComponent<any>;
|
||||
icon?: any;
|
||||
|
||||
/**
|
||||
* Obtain a reference to the HTML button element
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue