column header sorting icon props? #772
Replies: 4 comments 5 replies
-
this has been resolved. |
Beta Was this translation helpful? Give feedback.
-
For anyone else curious, I ended up adding this to my sass:
|
Beta Was this translation helpful? Give feedback.
-
I don't want to use sass and the color must not be white, but vary depending on the theme and darkmode. |
Beta Was this translation helpful? Give feedback.
-
There seems to not be not knowledge on how to style nested elements with Emotion. You can target css classes in the For example, muiTableHeadCellProps: ({ column }) => ({
sx: {
'& .MuiTableSortLabel-icon': {
color: column.getIsSorted() ? 'limegreen !important' : undefined,
},
},
}) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I understand that muiColumnActionsButtonProps allows me to modify the icon props for the column options,
may I know which props allow me to modify the sorting icon on the column header cell?
I only wish to change the color of the icon.
Beta Was this translation helpful? Give feedback.
All reactions