No problem with styling chip label or background color, or chip itself. But seems like that delete round button inside chip is a svg icon. Is there any way I can change color of it?
答案 0 :(得分:5)
是的,您可以通过覆盖Chip的默认主题颜色来完成此操作:
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';
import getMuiTheme from 'material-ui/styles/getMuiTheme';
<MuiThemeProvider muiTheme={getMuiTheme({ chip: { deleteIconColor: 'red' } })}>
// ...