From a57e1ba4a51b84b8a9a2d5911ec111faa4673c54 Mon Sep 17 00:00:00 2001 From: ainosh Date: Thu, 27 Jul 2023 09:04:29 +0900 Subject: [PATCH 1/6] Translate "" -The [built-in browser `` コンポーネント](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select)を利用することで、選択肢を含むセレクトボックスをレンダーすることができます。 ```js ` component](https://developer.mozilla.org/en-US/ --- -## Reference {/*reference*/} +## リファレンス {/*reference*/} ### ``](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select) component. +セレクトボックスを表示するためには、[ブラウザ組み込みの ` @@ -32,55 +32,55 @@ To display a select box, render the [built-in browser ` ``` -[See more examples below.](#usage) +[さらに例を見る](#usage) #### Props {/*props*/} -`` は[一般的な要素の props](/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: +`value` プロパティを渡すことで、[セレクトボックスを制御](#controlling-a-select-box-with-a-state-variable)できます。 -* `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)、[``](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup) コンポーネントを子として受け入れます。許可されたコンポーネントの 1 つを最終的にレンダーする場合に限り、独自のコンポーネントを渡すこともできます。`