mui-datatables
mui-datatables copied to clipboard
Bad typing on MUIDataTableOptions renderExpandableRow - rowData
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)
- Check MUIDataTableOptions type
- Check renderExpandableRow
- Check rowData param
Your Environment
| Tech | Version |
|---|---|
| Material-UI | |
| MUI-datatables | |
| React | |
| browser | |
| etc |