material-ui
material-ui copied to clipboard
[RaisedButton] icon property issues
When using RaisedButton with icon property , the icon does not render ,
<RaisedButton label="Github Link" linkButton={true} href=" "
secondary={true} icon= {<FontIcon className="icon-github"/>}/>
when I put the FontIcon as a child , it works but with incorrect styles on hover #3468
<RaisedButton label="Github Link" linkButton={true} href=" "
secondary={true} > <FontIcon className="icon-github"/> </RaisedButton>
Why Don't you use an iconButton Instead?
Check the docs example for the github icon. Check the Simple example.