You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RefreshIcon is my component, but the style on the icon being supplied to FlatButton is being overridden by the FlatButton code...it wasn't preserving the style that I supplied. I wanted to float the icon to the right side of the button rather than to the immediate right of the button text. It would be nice if FlatButton preserved the style on the icon component being passed in.
Problem description
I'm trying to force the icon to the right of the FlatButton, but the style prop value on the RefreshIcon component isn't used by the FlatButton
Steps to reproduce
<FlatButton icon={ <RefreshIcon style={{ float: 'right', marginTop: 6 }} />
} />
Versions
The text was updated successfully, but these errors were encountered: