Skip to content
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

fix(react): fix BreadcrumbLink type interface to correctly allow for polymorphic anchor components #1441

Merged
merged 4 commits into from
Apr 5, 2024

Conversation

scurker
Copy link
Member

@scurker scurker commented Apr 5, 2024

closes #848

@scurker scurker requested review from a team as code owners April 5, 2024 14:56
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-1441.d15792l1n26ww3.amplifyapp.com

docs/mdx-components.tsx Outdated Show resolved Hide resolved
@tbusillo
Copy link
Contributor

tbusillo commented Apr 5, 2024

Only other thing I'm wondering is if there should maybe be a test case that makes use of this? I realize we can't really test for the type itself, but presumably TypeScript would throw an error if it tried to run and this was still an issue?

Copy link
Contributor

@tbusillo tbusillo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM and thank you for jumping on this so quickly!

@scurker scurker merged commit fd12436 into develop Apr 5, 2024
7 checks passed
@scurker scurker deleted the fix-breadcrumb-link branch April 5, 2024 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: <BreadcrumbLink> is incompatible with React Router's <Link>
2 participants