Skip to content
Discussion options

You must be logged in to vote

Hey, are you talking about a specific framework since it might differ based on their implementation.
Here's how we handle it for Next.js:

import { Button } from "reshaped";
import NextLink from "next/link";

const Component = () => {
  return (
    <NextLink passHref legacyBehavior href="/content/docs/getting-started/overview">
      <Button size="large" variant="outline" icon={IconDocumentation}>
	Browse docs
      </Button>
    </NextLink>
  );
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@its-monotype
Comment options

Answer selected by its-monotype
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants