diff --git a/src/content/reference/react-dom/components/select.md b/src/content/reference/react-dom/components/select.md index 0dbdc1537..9477e9994 100644 --- a/src/content/reference/react-dom/components/select.md +++ b/src/content/reference/react-dom/components/select.md @@ -4,12 +4,12 @@ title: "` component](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select) lets you render a select box with options. +O [componente ` - - + + ``` @@ -19,68 +19,68 @@ The [built-in browser `` {/*select*/} -To display a select box, render the [built-in browser `` nativo do navegador](https://developer.mozilla.org/pt-BR/docs/Web/HTML/Element/select). ```js ``` -[See more examples below.](#usage) +[Veja mais exemplos abaixo.](#usage) #### Props {/*props*/} -`` suporta todas as [props de elementos gerais.](/reference/react-dom/components/common#props) -You can [make a select box controlled](#controlling-a-select-box-with-a-state-variable) by passing a `value` prop: +Você pode [tornar uma caixa de seleção controlada](#controlling-a-select-box-with-a-state-variable) passando a prop `value`: -* `value`: A string (or an array of strings for [`multiple={true}`](#enabling-multiple-selection)). Controls which option is selected. Every value string match the `value` of some ``](https://developer.mozilla.org/pt-BR/docs/Web/HTML/Element/optgroup) e [``](https://developer.mozilla.org/pt-BR/docs/Web/HTML/Element/datalist) como filhos. Você também pode passar seus próprios componentes, desde que eventualmente renderizam um dos componentes permitidos. Se passar seus próprios componentes, que eventualmente renderizem tags `