mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
feat(ui-shell): forward click
event to HeaderActionLink
(#1797)
Closes #1796
This commit is contained in:
parent
a1c7d9bd7c
commit
e5675eb203
4 changed files with 6 additions and 3 deletions
|
@ -25,6 +25,7 @@
|
|||
href="{href}"
|
||||
rel="{$$restProps.target === '_blank' ? 'noopener noreferrer' : undefined}"
|
||||
{...$$restProps}
|
||||
on:click
|
||||
>
|
||||
<slot name="icon">
|
||||
<svelte:component this="{icon}" size="{20}" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue