[Bug]: TableContainer
doesn't render description
unless title
is specified
#18134
Labels
component: data-table
package: @carbon/react
@carbon/react
severity: 3
https://ibm.biz/carbon-severity
type: bug 🐛
Package
@carbon/react
Browser
No response
Package version
1.67.1
React version
No response
Description
TableContainer
doesn't renderdescription
unlesstitle
is specified. Here is the code where thetitle
anddescription
are rendered:carbon/packages/react/src/components/DataTable/TableContainer.tsx
Lines 67 to 78 in ab3eba8
The following code prevents the
description
from being rendered unlesstitle
is truthy:carbon/packages/react/src/components/DataTable/TableContainer.tsx
Line 67 in ab3eba8
Reproduction/example
https://stackblitz.com/edit/github-5zg2fu?file=src%2FApp.tsx
Steps to reproduce
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: