diff --git a/docs/pages/api-docs/textarea-autosize.md b/docs/pages/api-docs/textarea-autosize.md index 83332d24271a76..e2576f541c1f36 100644 --- a/docs/pages/api-docs/textarea-autosize.md +++ b/docs/pages/api-docs/textarea-autosize.md @@ -30,7 +30,7 @@ You can learn more about the difference by [reading this guide](/guides/minimizi | minRows | number
| string
| 1 | Minimum number of rows to display. | | ~~rows~~ | oneOfType([PropTypes.number | | *Deprecated*. Use `rowsMin` instead.

Minimum number of rows to display. | | ~~rowsMax~~ | oneOfType([PropTypes.number | | *Deprecated*. Use `maxRows` instead.

Maximum number of rows to display. | -| ~~rowsMin~~ | oneOfType([PropTypes.number | 1 | *Deprecated*. Use `minRows` instead.

Minimum number of rows to display. | +| ~~rowsMin~~ | oneOfType([PropTypes.number | | *Deprecated*. Use `minRows` instead.

Minimum number of rows to display. | The `ref` is forwarded to the root element. diff --git a/packages/material-ui/src/TextareaAutosize/TextareaAutosize.js b/packages/material-ui/src/TextareaAutosize/TextareaAutosize.js index 177a628c36b0d6..c98c1175b159bc 100644 --- a/packages/material-ui/src/TextareaAutosize/TextareaAutosize.js +++ b/packages/material-ui/src/TextareaAutosize/TextareaAutosize.js @@ -32,7 +32,7 @@ const TextareaAutosize = React.forwardRef(function TextareaAutosize(props, ref) onChange, rows, rowsMax, - rowsMin: rowsMinProp = 1, + rowsMin: rowsMinProp, maxRows: maxRowsProp, minRows: minRowsProp = 1, style,