Skip to content

Commit

Permalink
Document Link component
Browse files Browse the repository at this point in the history
  • Loading branch information
HaNdTriX committed Sep 24, 2022
1 parent 025b747 commit d0d6a9b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/next/client/link.tsx
Expand Up @@ -197,6 +197,9 @@ type LinkPropsReal = React.PropsWithChildren<
LinkProps
>

/**
* React Component that enables client-side page transitions between routes.
*/
const Link = React.forwardRef<HTMLAnchorElement, LinkPropsReal>(
function LinkComponent(props, forwardedRef) {
if (process.env.NODE_ENV !== 'production') {
Expand Down

0 comments on commit d0d6a9b

Please sign in to comment.