[data grid] icon must inherit fontSize from baseIconButton #12900
Labels
component: data grid
This is the name of the generic UI component, not the React module!
enhancement
This is not a bug, nor a new feature
good first issue
Great for first contributions. Enable to learn the contribution process.
Summary
Currently I'm unable to override fontSize of icon in GridActionsCellItem IconButton
https://github.com/mui/mui-x/blob/master/packages/x-data-grid/src/components/cell/GridActionsCellItem.tsx#L50
Here hardcoded always small
baseIconButton size can be overwritten easy through props or slotProps, but not icon itself
So I'd like to inherit fontSize from button (if look suitable for most of cases)
Or any ability to customize fontSize instead of having hardcoded one
Examples
No response
Motivation
No response
Search keywords: data grid, icon, baseIconButton
The text was updated successfully, but these errors were encountered: