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

[IconButton] want `tooltipStyle` props

Open fuzzy31u opened this issue 11 years ago • 4 comments

Hi all,

I'd like to override styles for tooltip in IconButton component for example width, whiteSpace etc... Hopefully It will be added tooltipStyle props like iconStyle. I saw this page http://material-ui.com/#/customization/inline-styles then I found

If you need to override the inline styles of an element nested deep within a component and there is not a style property available to do so, please submit an issue requesting to have one added.

:)

Thank you so much

fuzzy31u avatar Jul 01 '15 06:07 fuzzy31u

@fuzzy31u #1010 I added a pull request for you. It will allow you to pass styles to tooltip now, but be careful with some such as passing a background color or size changes because ripple will not change to match modifications...

Zadielerick avatar Jul 01 '15 15:07 Zadielerick

Thank you I am glad to hear that. Ok I will try it as you say. Thanks for your quickly response :)

fuzzy31u avatar Jul 01 '15 16:07 fuzzy31u

No problem :)

Zadielerick avatar Jul 01 '15 16:07 Zadielerick

Thanks guys - Fixed with #1010

hai-cea avatar Jul 02 '15 00:07 hai-cea