From 7b14bccd7c59591b33835e99b88deaf81fc278e5 Mon Sep 17 00:00:00 2001 From: Enricco Gemha Date: Wed, 6 Nov 2024 16:30:53 -0300 Subject: [PATCH 1/2] =?UTF-8?q?Tradu=C3=A7=C3=A3o=20completa=20at=C3=A9=20?= =?UTF-8?q?`usage`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reference/react-dom/components/select.md | 88 +++++++++---------- 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/src/content/reference/react-dom/components/select.md b/src/content/reference/react-dom/components/select.md index 0dbdc1537..f7b6fe65c 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 `