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 FontIcon child hover styling #639

Merged
merged 1 commit into from
May 15, 2015
Merged

Conversation

troutowicz
Copy link
Contributor

Provides a way to pass down hover style to the FontIcon child in IconButton.

Use case

@troutowicz troutowicz force-pushed the icon_button branch 3 times, most recently from a40a430 to e8d3f4b Compare May 14, 2015 12:39
@troutowicz
Copy link
Contributor Author

@pomerantsev Any preference on passing hoverStyle or hoverColor here? I personally only have the need to alter the icons color, but I'm not sure if others may have a need to alter other style attributes on hover.

@pomerantsev
Copy link
Contributor

@troutowicz I personally prefer to have as few options as possible, so hoverColor makes more sense to me, but I guess it's better to consult the actual Material Design guidelines on whether or not any style changes should be possible on hover.

@troutowicz troutowicz force-pushed the icon_button branch 2 times, most recently from dc32caa to 2f276a7 Compare May 15, 2015 00:31
@troutowicz
Copy link
Contributor Author

@pomerantsev Looked through the spec and it looks like hover color is the only hover style the component needs. PR has been updated.

@pomerantsev
Copy link
Contributor

👍

hai-cea pushed a commit that referenced this pull request May 15, 2015
IconButton FontIcon child hover styling
@hai-cea hai-cea merged commit 78bd2ae into mui:master May 15, 2015
@hai-cea
Copy link
Member

hai-cea commented May 15, 2015

Thanks @troutowicz & @pomerantsev 👍

@zannager zannager added the component: icon button This is the name of the generic UI component, not the React module! label Mar 14, 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!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants