-
Notifications
You must be signed in to change notification settings - Fork 357
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
Enforce type for children of Tabs component #6766
Comments
The updates made in #6767 caused a type error in OpenShift. For now, the update was reverted to unblock the current release.
|
@nicolethoen Interesting, does the code there actually work? Seem like they are using strings as children where they would not be possible. |
@tlabaj do we want to reopen the associated PR for this issue and merge it into the v5 branch? |
@nicolethoen I've re-opened this PR targeting the |
Closed by #8217 |
The
Tabs
component can only accept children of the type of theTab
component. This is documented by a comment, but not enforced by TypeScript. To resolve this issue the correct type should be added so errors can be caught at compile time.The text was updated successfully, but these errors were encountered: