mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11: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"
|
||||
tabindex="0"
|
||||
href="{href}"
|
||||
rel="{$$restProps.target === '_blank' ? 'noopener noreferrer' : undefined}"
|
||||
class:bx--header__menu-item="{true}"
|
||||
{...$$restProps}
|
||||
on:click
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue