diff --git a/.changeset/curly-otters-repeat.md b/.changeset/curly-otters-repeat.md new file mode 100644 index 00000000000..2504ec46af7 --- /dev/null +++ b/.changeset/curly-otters-repeat.md @@ -0,0 +1,6 @@ +--- +"@primer/react": minor +--- + +Link components no longer accept an `as` prop. If you need link-like styling, you should use a different component and style accordingly. +Button has a `link` variant which can be used for this purpose. diff --git a/docs/content/Link.mdx b/docs/content/Link.mdx index b414769cc89..3882a7cd795 100644 --- a/docs/content/Link.mdx +++ b/docs/content/Link.mdx @@ -10,10 +10,6 @@ import data from '../../src/Link/Link.docs.json' The Link component styles anchor tags with default hyperlink color cues and hover text decoration. `Link` is used for destinations, or moving from one page to another. -In special cases where you'd like a `