I've been spinning in circles with this issue. It seems like I just can't grasp how class overrides function in Material-ui.
I attempted to follow the advice in this response: CSS on Material UI components However, it didn't produce any results (no errors). This could be due to me working with a stateful component rather than the stateless one used in the example.
Currently, I am experimenting with the following code...
<TableRow className={styles.tableRow}
key={n.id} hover
onClick={event => this.handleRowClick(event, n.id)}
classes={{ 'hover': {color: '#7EA5FF'}}} >
<TableCell> </TableCell>
<TableCell>{n.title}</TableCell>
<TableCell>{n.author}</TableCell>
</TableRow>
However, I encounter this error message:
the key hover
provided to the classes property is not valid for TableRow.
You need to provide a non-empty string instead of: [object Object].
Any assistance would be greatly appreciated. Thank you.