-
-
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
[FlatButton] icon props are not passed through #4144
Labels
bug 🐛
Something doesn't work
Comments
I've got the exact same problem with the import {List, ListItem} from 'material-ui/List';
import CheckIcon from 'material-ui/svg-icons/navigation/check';
import {green500} from 'material-ui/styles/colors';
// ... some code ...
<ListItem
primaryText="License active"
secondaryText={`until ${paymentExpiryFormatted}`}
leftIcon={<CheckIcon color={green500}/>}
/> Same Versions |
tintin1343
added
bug 🐛
Something doesn't work
and removed
bug 🐛
Something doesn't work
labels
May 4, 2016
3 tasks
tintin1343
added a commit
to tintin1343/material-ui
that referenced
this issue
May 4, 2016
Confirmed Bug. This should be fixed when the PR is merged. |
tintin1343
added a commit
to tintin1343/material-ui
that referenced
this issue
May 4, 2016
tintin1343
added a commit
to tintin1343/material-ui
that referenced
this issue
May 5, 2016
Happened to bump into the same problem. Thanks for that! It really helped. |
tintin1343
added a commit
to tintin1343/material-ui
that referenced
this issue
May 6, 2016
und3fined
pushed a commit
to und3fined/material-ui
that referenced
this issue
May 17, 2016
alitaheri
pushed a commit
to alitaheri/material-ui
that referenced
this issue
Jun 16, 2016
This was referenced Jan 12, 2022
This was referenced Mar 20, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem Description
Icon props aren't passed through when using
FlatButton
'sicon
prop. See android button in the docs: http://www.material-ui.com/v0.15.0-beta.2/#/components/flat-button. It is passed a color but remains black.Output:
Versions
The text was updated successfully, but these errors were encountered: