react-router-dom
This commit is contained in:
@@ -22,7 +22,7 @@ export const Link = (props: LinkProps) => {
|
||||
}
|
||||
|
||||
return (
|
||||
<StyledLink inheritColor={props.inheritColor} contrast={props.contrast} href={props.href} {...linkProps}>
|
||||
<StyledLink reloadDocument={isExternal} inheritColor={props.inheritColor} contrast={props.contrast} to={props.href} {...linkProps}>
|
||||
{props.children}
|
||||
{isExternal && <img src={externalIcon} alt="external link icon" />}
|
||||
</StyledLink>
|
||||
|
||||
Reference in New Issue
Block a user