material-table icon indicating copy to clipboard operation
material-table copied to clipboard

[HELP] IconProps / Change the order of actions

Open gomorizsolt opened this issue 7 years ago • 2 comments

Hey @mbrn!

Thanks for maintaining this awesome project, really like the features it provides. :)

I have encountered some issues while using the package.

  1. As far as I understand, the size of a particular icon can be modified via the iconProps property, e.g.:
iconProps: {
   fontSize: "large"
}

However, it doesn't really affect the icon's appearance at all. What'd be a possible reason for this unexpected behavior?

  1. Is there any way to change the order of the icons under the actions column?

If you need further details, don't hesitate to ask. :)

Thanks in advance.

gomorizsolt avatar Jun 27 '19 07:06 gomorizsolt

Icons are wrapped in IconButtons as is usual in Material-UI. Therefore the size of the icon itself doesn't have a large influence. If you want to reduce row heights, try enabling compact mode by setting the options flag "padding" to "dense"

gianlucamateo avatar Jun 27 '19 09:06 gianlucamateo

Thanks @gianlucamateo, I'll give that option a try.

gomorizsolt avatar Jun 27 '19 20:06 gomorizsolt