We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@carbon/react
Firefox
v1.52
v16.12.0
When adding the TableExpandRow in a ts file like the example provided with getRowProps it still requires more required props.
<TableExpandRow { ...getRowProps({row}) } >
Error:
Type '{ children: (Element | Element[])[]; ariaLabel: string; "aria-label": string; disabled: boolean; isExpanded?: boolean; isSelected?: boolean; key: string; onExpand: (e: MouseEvent) => void; }' is not assignable to type 'TableExpandRowProps'.
It happens to multiple components in the TS file configuration. Check the stackblitz for an example.
https://stackblitz.com/edit/github-zacbic?file=src%2FApp.tsx&preset=node=
Just create a TS file and import the DataTable and the require components. Render the table with TableExpandRow and the error will be shown
None
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Package
@carbon/react
Browser
Firefox
Package version
v1.52
React version
v16.12.0
Description
When adding the TableExpandRow in a ts file like the example provided with getRowProps it still requires more required props.
Error:
It happens to multiple components in the TS file configuration. Check the stackblitz for an example.
Reproduction/example
https://stackblitz.com/edit/github-zacbic?file=src%2FApp.tsx&preset=node=
Steps to reproduce
Just create a TS file and import the DataTable and the require components.
Render the table with TableExpandRow and the error will be shown
Suggested Severity
None
Application/PAL
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: