-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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 unknown props warning #4851
Comments
I'm still seeing the warnings in version 0.15.3 for disabledBackgroundColor and disabledLabelColor properties of the RaisedButton component. |
I'm getting a similar warning for the
|
I'm getting:
|
@StefanAlves I tried using the import React, {Component} from 'react';
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';
import IconButton from 'material-ui/IconButton';
import FontIcon from 'material-ui/FontIcon';
import ActionHome from 'material-ui/svg-icons/action/home';
import injectTapEventPlugin from 'react-tap-event-plugin';
import './App.css'
injectTapEventPlugin();
const styles = {
boxSizing: 'border-box',
paddingLeft: '30px',
border: "1px solid #979797",
backgroundColor: "#0000FF",
};
class Child extends Component{
render(){
return(
<MuiThemeProvider>
<div>
<IconButton tooltipStyles= {styles} tooltip="Font Icon">
<FontIcon className="icon-home" />
</IconButton>
</div>
</MuiThemeProvider>
)
}
}
export default Child @carlgunderson If you update your material-ui version to the latest release @rojobuffalo @hackingbeauty |
@oliviertassinari This issue can be closed if there is no further discussion. |
@Shahrukh-Zindani Looking at the source code, it should be fine. Thanks. |
Problem description
A warning is raised for unknown props when I pass tooltipStyles for IconButton.
The issue is related to #4594
Steps to reproduce
To reproduce this issue you just have to pass an object for the tooltipStyles prop.
Ex:
<IconButton tooltipStyles = { myStyles } >....
Versions
The text was updated successfully, but these errors were encountered: