Skip to content
New issue

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

Bad typing on MUIDataTableOptions renderExpandableRow - rowData #2031

Open
hajdun opened this issue Mar 26, 2024 · 0 comments
Open

Bad typing on MUIDataTableOptions renderExpandableRow - rowData #2031

hajdun opened this issue Mar 26, 2024 · 0 comments

Comments

@hajdun
Copy link

hajdun commented Mar 26, 2024

Bad typing on MUIDataTableOptions renderExpandableRow - rowData param
rowData is NOT a string array, it is an object similar to React.Component<{text: string}>

Expected Behavior

rowData is NOT a string array, it is an object like React.Component<{text: string}>

Current Behavior

rowData is set to a string array

Steps to Reproduce (for bugs)

  1. Check MUIDataTableOptions type
  2. Check renderExpandableRow
  3. Check rowData param

Your Environment

Tech Version
Material-UI
MUI-datatables
React
browser
etc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant