diff --git a/.changeset/fast-fireants-sell.md b/.changeset/fast-fireants-sell.md new file mode 100644 index 00000000000..59f0f25ad4b --- /dev/null +++ b/.changeset/fast-fireants-sell.md @@ -0,0 +1,5 @@ +--- +'@primer/components': major +--- + +Link no longer accepts styled-system props. Please use the `sx` prop to extend Primer component styling instead. See also https://primer.style/react/overriding-styles for information about `sx` and https://primer.style/react/system-props for context on the removal. diff --git a/docs/content/Link.md b/docs/content/Link.md index 4ec7fc339bb..043472a38c3 100644 --- a/docs/content/Link.md +++ b/docs/content/Link.md @@ -16,22 +16,13 @@ In special cases where you'd like a `