Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IconButton] want tooltipStyle props #1005

Closed
fuzzy31u opened this issue Jul 1, 2015 · 4 comments
Closed

[IconButton] want tooltipStyle props #1005

fuzzy31u opened this issue Jul 1, 2015 · 4 comments
Labels
component: icon button This is the name of the generic UI component, not the React module! component: tooltip This is the name of the generic UI component, not the React module!

Comments

@fuzzy31u
Copy link

fuzzy31u commented Jul 1, 2015

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 fuzzy31u changed the title [IconButton] want tooltipStyle [IconButton] want tooltipStyle props Jul 1, 2015
@Zadielerick
Copy link
Contributor

@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...

@fuzzy31u
Copy link
Author

fuzzy31u commented Jul 1, 2015

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

@Zadielerick
Copy link
Contributor

No problem :)

@hai-cea
Copy link
Member

hai-cea commented Jul 2, 2015

Thanks guys - Fixed with #1010

@hai-cea hai-cea closed this as completed Jul 2, 2015
mnajdova pushed a commit to mnajdova/material-ui that referenced this issue Nov 10, 2020
Refactor components to use React hooks
@oliviertassinari oliviertassinari added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Dec 25, 2022
@zannager zannager added component: icon button This is the name of the generic UI component, not the React module! component: tooltip This is the name of the generic UI component, not the React module! and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: icon button This is the name of the generic UI component, not the React module! component: tooltip This is the name of the generic UI component, not the React module!
Projects
None yet
Development

No branches or pull requests

5 participants