-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove color prop from Anchor component #2948
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 5cd115e The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2948 +/- ##
=======================================
Coverage 87.60% 87.60%
=======================================
Files 228 228
Lines 13058 13058
Branches 1760 1760
=======================================
Hits 11440 11440
Misses 1561 1561
Partials 57 57
|
Size Change: 0 B Total Size: 702 kB ℹ️ View Unchanged
|
Purpose
The Anchor component extends the Body component, which recently gained support for a
color
prop. The Anchor's color is hard-coded, so customizing its color doesn't work (and isn't supposed to work).Approach and changes
color
prop from the Anchor component's prop typesDefinition of done