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

[RaisedButton] icon property issues

Open hamzaOp opened this issue 10 years ago • 1 comments

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>

hamzaOp avatar Feb 26 '16 12:02 hamzaOp

Why Don't you use an iconButton Instead?

Check the docs example for the github icon. Check the Simple example.

tintin1343 avatar Apr 22 '16 20:04 tintin1343