mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 10:51:06 +00:00
feat: make icons slottable (#1186)
This commit is contained in:
parent
d9ee8cb2d9
commit
e23b121143
16 changed files with 139 additions and 46 deletions
|
@ -45,5 +45,5 @@ export interface HeaderActionProps
|
|||
export default class HeaderAction extends SvelteComponentTyped<
|
||||
HeaderActionProps,
|
||||
{ click: WindowEventMap["click"]; close: CustomEvent<any> },
|
||||
{ default: {}; text: {} }
|
||||
{ default: {}; closeIcon: {}; icon: {}; text: {} }
|
||||
> {}
|
||||
|
|
|
@ -31,5 +31,5 @@ export interface HeaderActionLinkProps
|
|||
export default class HeaderActionLink extends SvelteComponentTyped<
|
||||
HeaderActionLinkProps,
|
||||
{},
|
||||
{}
|
||||
{ icon: {} }
|
||||
> {}
|
||||
|
|
|
@ -37,5 +37,5 @@ export interface SideNavLinkProps
|
|||
export default class SideNavLink extends SvelteComponentTyped<
|
||||
SideNavLinkProps,
|
||||
{ click: WindowEventMap["click"] },
|
||||
{}
|
||||
{ icon: {} }
|
||||
> {}
|
||||
|
|
|
@ -31,5 +31,5 @@ export interface SideNavMenuProps
|
|||
export default class SideNavMenu extends SvelteComponentTyped<
|
||||
SideNavMenuProps,
|
||||
{ click: WindowEventMap["click"] },
|
||||
{ default: {} }
|
||||
{ default: {}; icon: {} }
|
||||
> {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue