button
v4.9.10arrow_drop_downName | Type | Description |
---|---|---|
children (required) | node | The content of the button. |
classes (required) | object | Override or extend the styles applied to the component. See CSS API below for more details. |
className | string | |
color | 'default' | 'inherit' | 'primary' | 'secondary' | The color of the component. It supports those theme colors that make sense for this component. |
component | elementType | The component used for the root node. Either a string to use a DOM element or a component. |
disabled | bool | If |
disableElevation | bool | If |
disableFocusRipple | bool | If |
disableRipple | bool | If ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
to highlight the element by applying separate styles with the |
endIcon | node | Element placed after the children. |
focusVisibleClassName | string | |
fullWidth | bool | If |
href | string | The URL to link to when the button is clicked.
If defined, an |
size | 'small' | 'medium' | 'large' | The size of the button.
|
startIcon | node | Element placed before the children. |
type | string | |
variant | 'text' | 'outlined' | 'contained' | The variant to use. |