From 9b2d772f8d2883ed5f21c49620c865249541e144 Mon Sep 17 00:00:00 2001 From: carlos-garcia-dev Date: Wed, 22 Mar 2023 18:57:16 +0100 Subject: [PATCH 1/2] Translate select --- .../reference/react-dom/components/select.md | 222 +++++++++--------- 1 file changed, 111 insertions(+), 111 deletions(-) diff --git a/beta/src/content/reference/react-dom/components/select.md b/beta/src/content/reference/react-dom/components/select.md index de351d394..0b3064f95 100644 --- a/beta/src/content/reference/react-dom/components/select.md +++ b/beta/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. +El [componente nativo del navegador ` - - + + ``` @@ -19,68 +19,68 @@ The [built-in browser `` {/*select*/} -To display a select box, render the [built-in browser ``](https://developer.mozilla.org/es/docs/Web/HTML/Element/select). ```js ``` -[See more examples below.](#usage) +[Ver más ejemplos a continuación.](#usage) #### Props {/*props*/} -`` soporta todos los [elementos prop comunes.](/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: +Puedes [hacer un recuadro de selección controlado](#controlling-a-select-box-with-a-state-variable) al pasar una 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/en-US/docs/Web/HTML/Element/optgroup) y el componente [``](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup) como children. También puedes pasarle tus propios componentes siempre y cuando ellos rendericen eventualmente uno de los componentes aceptados. Si pasas tus propios componentes que eventualmente rendericen la etiqueta `