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

Floating Action Button Only Accepts backgroundColor via Theme (cannot override)

Open ivanbrens opened this issue 11 years ago • 2 comments

Currently there is no way to override the backgroundColor property for the floating action button that is being passed in through theme context.

ivanbrens avatar Jun 29 '15 17:06 ivanbrens

Heres a way to do it @ibrens Floating Action button I just added a prop in /src/floating-action-button.jsx and modified the getBackgroundColor method.

Zadielerick avatar Jun 30 '15 21:06 Zadielerick

As per the docs, FloatingActionButton now has a backgroundColor prop.

shaurya947 avatar Nov 17 '15 19:11 shaurya947