10000 fix: fix component type error by kyletsang · Pull Request #6821 · react-bootstrap/react-bootstrap · GitHub
[go: up one dir, main page]

Skip to content

fix: fix component type error #6821

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

Merged
merged 1 commit into from
Jun 30, 2024
Merged

fix: fix component type error #6821

merged 1 commit into from
Jun 30, 2024

Conversation

kyletsang
Copy link
Member

Fixes #6819

Accidentally broke types when making them compatible with R18 types. This fix restores the original type but also adds a hack for any component that explicitly declares BsPrefixRefForwardingComponent as a return type so the build would work.

@kyletsang kyletsang requested a review from jquense June 28, 2024 00:44
@kyletsang kyletsang merged commit ab5e5fb into master Jun 30, 2024
10 checks passed
@kyletsang kyletsang deleted the fix-fwdref-type branch June 30, 2024 04:26
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.

TS2786: '<Any Bootstrap Component>' cannot be used as a JSX component.
1 participant
0