mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
chore(HeaderNavItem): add rel=""
This commit is contained in:
parent
d28e722327
commit
266443bf9e
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@
|
||||||
role="menuitem"
|
role="menuitem"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
href="{href}"
|
href="{href}"
|
||||||
|
rel="{$$restProps.target === '_blank' ? 'noopener noreferrer' : undefined}"
|
||||||
class:bx--header__menu-item="{true}"
|
class:bx--header__menu-item="{true}"
|
||||||
{...$$restProps}
|
{...$$restProps}
|
||||||
on:click
|
on:click
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue