diff --git a/CHANGELOG.md b/CHANGELOG.md index 979df05d..dff0d75d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Added +- `rel` prop to `Link` component for better SEO. ## [8.130.0] - 2021-06-28 ### Changed diff --git a/react/components/Link.tsx b/react/components/Link.tsx index 39a34fa6..189541ac 100644 --- a/react/components/Link.tsx +++ b/react/components/Link.tsx @@ -23,6 +23,7 @@ interface Props extends NavigateOptions { className?: string target?: string waitToPrefetch?: number + rel?: HTMLAnchorElement['rel'] } const appendWorkspaceToURL = ( @@ -55,6 +56,7 @@ const Link: React.FunctionComponent = ({ modifiersOptions, target, waitToPrefetch, + rel, ...linkProps }) => { const {