Skip to content

Enforce type for children of Tabs component #6766

@jonkoops

Description

@jonkoops

The Tabs component can only accept children of the type of the Tab 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.

Metadata

Metadata

Assignees

Labels

Breaking change 💥this change requires a major release and has API changes.

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions