Open link in new tab and added cell url (#782)

This commit is contained in:
Lucas Bordeau
2023-07-21 03:40:56 +02:00
committed by GitHub
parent 066b4854d9
commit bf41182810
3 changed files with 69 additions and 4 deletions

View File

@ -20,7 +20,7 @@ const StyledClickable = styled.div`
export function RawLink({ className, href, children, onClick }: OwnProps) {
return (
<StyledClickable className={className}>
<ReactLink onClick={onClick} to={href}>
<ReactLink target="_blank" onClick={onClick} to={href}>
{children}
</ReactLink>
</StyledClickable>