Skip to main content

Function: buttonOverride()

buttonOverride(theme): object

Parameters​

ParameterType
themeTheme

Returns​

object

MuiButton​

MuiButton: object

MuiButton.styleOverrides​

styleOverrides: object

MuiButton.styleOverrides.containedInherit​

containedInherit: object

MuiButton.styleOverrides.containedInherit.&:hover​

&:hover: object

MuiButton.styleOverrides.containedInherit.&:hover.backgroundColor​

backgroundColor: string

MuiButton.styleOverrides.containedInherit.boxShadow​

boxShadow: string

MuiButton.styleOverrides.containedInherit.color​

color: string

MuiButton.styleOverrides.outlinedInherit​

outlinedInherit: object

MuiButton.styleOverrides.outlinedInherit.&:hover​

&:hover: object

MuiButton.styleOverrides.outlinedInherit.&:hover.backgroundColor​

backgroundColor: string = theme.palette.action.hover

MuiButton.styleOverrides.outlinedInherit.border​

border: string

MuiButton.styleOverrides.root​

root: object

MuiButton.styleOverrides.root.&:hover​

&:hover: object

MuiButton.styleOverrides.root.&:hover.boxShadow​

boxShadow: string = 'none'

MuiButton.styleOverrides.sizeLarge​

sizeLarge: object

MuiButton.styleOverrides.sizeLarge.height​

height: number = 48

MuiButton.styleOverrides.textInherit​

textInherit: object

MuiButton.styleOverrides.textInherit.&:hover​

&:hover: object

MuiButton.styleOverrides.textInherit.&:hover.backgroundColor​

backgroundColor: string = theme.palette.action.hover