(
href={disabled ? undefined : href}
className={linkClassName}
{...(disabled && { tabIndex: -1, 'aria-disabled': 'true' })}
- {...(external && !disabled && { target: '_blank', rel: 'noopener noreferrer' })}
+ target={target}
+ rel={linkRel}
+ aria-label={children}
{...props}
- data-testid="link"
>
- {label}
+ {children}
{iconRight && }
{description && {description}
}