简体   繁体   中英

Can't customise color of material-ui RaisedButton

我正在尝试使用backgroundColor:'#fb933c'使用内联样式自定义来更改material-ui RaisedButton的颜色,但是它仍显示默认颜色。

You can use build-in backgroundColor property.

<RaisedButton
   backgroundColor="#fb933c"
/>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM