mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 02:41:05 +00:00
chore: format files with Prettier 3
This commit is contained in:
parent
1dcd09bd98
commit
8e996dc683
391 changed files with 3725 additions and 3785 deletions
|
@ -19,16 +19,16 @@
|
|||
</script>
|
||||
|
||||
<a
|
||||
bind:this="{ref}"
|
||||
class:bx--header__action="{true}"
|
||||
class:bx--header__action--active="{linkIsActive}"
|
||||
href="{href}"
|
||||
rel="{$$restProps.target === '_blank' ? 'noopener noreferrer' : undefined}"
|
||||
bind:this={ref}
|
||||
class:bx--header__action={true}
|
||||
class:bx--header__action--active={linkIsActive}
|
||||
{href}
|
||||
rel={$$restProps.target === "_blank" ? "noopener noreferrer" : undefined}
|
||||
{...$$restProps}
|
||||
on:click
|
||||
>
|
||||
<slot name="icon">
|
||||
<svelte:component this="{icon}" size="{20}" />
|
||||
<svelte:component this={icon} size={20} />
|
||||
</slot>
|
||||
</a>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue