[Bug]: DataTableHeader
doesn't have an isSortable
property
#18172
Labels
component: data-table
package: @carbon/react
@carbon/react
severity: 3
https://ibm.biz/carbon-severity
status: needs triage 🕵️♀️
type: bug 🐛
Package
@carbon/react
Browser
No response
Package version
1.67.1
React version
No response
Description
DataTableHeader
doesn't have anisSortable
property even thoughgetHeaderProps
accepts one. Ideally, the problematic code in the reproduction should be able to simplified like the following:I'm not sure whether this issue should be a bug for a missing property or a feature request to add it.
My workaround at the moment is to just ignore the type error. Everything seems to work correctly.
Reproduction/example
https://stackblitz.com/edit/github-anyd1u?file=src%2FApp.tsx
Steps to reproduce
See type error in reproduction.
Suggested Severity
Severity 3 = User can complete task, and/or has a workaround within the user experience of a given component.
Application/PAL
DataPower
Code of Conduct
The text was updated successfully, but these errors were encountered: