diff --git a/packages/material-ui/src/ButtonBase/ButtonBase.js b/packages/material-ui/src/ButtonBase/ButtonBase.js index 8b24dee831c04b..12e9a808ee6d29 100644 --- a/packages/material-ui/src/ButtonBase/ButtonBase.js +++ b/packages/material-ui/src/ButtonBase/ButtonBase.js @@ -423,7 +423,9 @@ ButtonBase.propTypes = { */ TouchRippleProps: PropTypes.object, /** - * @ignore + * Used to control the button's purpose. + * This property passes the value to the `type` attribute of the native button component. + * Valid property values include `button`, `submit`, and `reset`. */ type: PropTypes.string, }; diff --git a/pages/api/button-base.md b/pages/api/button-base.md index d072dc3b7a2b82..4cb4a7c5365849 100644 --- a/pages/api/button-base.md +++ b/pages/api/button-base.md @@ -26,6 +26,7 @@ It contains a load of style reset and some focus/ripple logic. | focusVisibleClassName | string |   | This property can help a person know which element has the keyboard focus. The class name will be applied when the element gain the focus throught a keyboard interaction. It's a polyfill for the [CSS :focus-visible feature](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo). The rational for using this feature [is explain here](https://github.com/WICG/focus-visible/blob/master/explainer.md). | | onFocusVisible | func |   | Callback fired when the component is focused with a keyboard. We trigger a `onFocus` callback too. | | TouchRippleProps | object |   | Properties applied to the `TouchRipple` element. | +| type | string | 'button' | Used to control the button's purpose. This property passes the value to the `type` attribute of the native button component. Valid property values include `button`, `submit`, and `reset`. | Any other properties supplied will be spread to the root element (native element).