From 67e0a524f399e720eae7fd6cfcb25a4cde95612d Mon Sep 17 00:00:00 2001 From: Liam Cooke Date: Fri, 6 Mar 2020 11:42:08 +1100 Subject: [PATCH] [docs] Fix OutlinedLabel typo --- docs/pages/api-docs/select.md | 4 ++-- packages/material-ui/src/Select/Select.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/pages/api-docs/select.md b/docs/pages/api-docs/select.md index 9d2c229b4d3e47..3f5d27ebfda75d 100644 --- a/docs/pages/api-docs/select.md +++ b/docs/pages/api-docs/select.md @@ -32,9 +32,9 @@ You can learn more about the difference by [reading this guide](/guides/minimizi | IconComponent | elementType | ArrowDropDownIcon | The icon that displays the arrow. | | input | element | | An `Input` element; does not have to be a material-ui specific `Input`. | | inputProps | object | | [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element. When `native` is `true`, the attributes are applied on the `select` element. | -| label | node | | See [OutlinedLabel#label](/api/outlined-input/#props) | +| label | node | | See [OutlinedInput#label](/api/outlined-input/#props) | | labelId | string | | The ID of an element that acts as an additional label. The Select will be labelled by the additional label and the selected value. | -| labelWidth | number | 0 | See [OutlinedLabel#label](/api/outlined-input/#props) | +| labelWidth | number | 0 | See [OutlinedInput#label](/api/outlined-input/#props) | | MenuProps | object | | Props applied to the [`Menu`](/api/menu/) element. | | multiple | bool | false | If `true`, `value` must be an array and the menu will support multiple selections. | | native | bool | false | If `true`, the component will be using a native `select` element. | diff --git a/packages/material-ui/src/Select/Select.js b/packages/material-ui/src/Select/Select.js index 8c249e3c5e9425..805f249079ba2f 100644 --- a/packages/material-ui/src/Select/Select.js +++ b/packages/material-ui/src/Select/Select.js @@ -143,7 +143,7 @@ Select.propTypes = { */ inputProps: PropTypes.object, /** - * See [OutlinedLabel#label](/api/outlined-input/#props) + * See [OutlinedInput#label](/api/outlined-input/#props) */ label: PropTypes.node, /** @@ -152,7 +152,7 @@ Select.propTypes = { */ labelId: PropTypes.string, /** - * See [OutlinedLabel#label](/api/outlined-input/#props) + * See [OutlinedInput#label](/api/outlined-input/#props) */ labelWidth: PropTypes.number, /**