-
Notifications
You must be signed in to change notification settings - Fork 379
Description
Describe the problem
The expand prop of ThExpandType requires collapseAllAriaLabel and currently has a type of '' instead of string.
How do you reproduce the problem?
The HCS UI uses a Th for sticky column support; however, it also needs to support expandable rows. We're using ThExpandType, but the expand props; areAllExpanded and collapseAllAriaLabel are misleading. We use this functionality to collapse the current row, but there is no "collapse all" feature here.
Expected behavior
The collapseAllAriaLabel prop should be typed as string.
I'd also like to suggest that areAllExpanded and collapseAllAriaLabel be renamed. Alternatively, Td could support sticky columns.
Is this issue blocking you?
We have to workaround the issue by casting our valid string as ''
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
