diff --git a/src/content/reference/react-dom/components/select.md b/src/content/reference/react-dom/components/select.md index 46710908c..00f9b6ac8 100644 --- a/src/content/reference/react-dom/components/select.md +++ b/src/content/reference/react-dom/components/select.md @@ -4,7 +4,7 @@ title: "` component](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select) lets you render a select box with options. +[ブラウザ組み込みの ` @@ -19,11 +19,11 @@ The [built-in browser `` {/*select*/} -To display a select box, render the [built-in browser ``](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select) コンポーネントをレンダーします。 ```js `](https://develo ``` -[See more examples below.](#usage) +[さらに例を見る](#usage) -#### Props {/*props*/} +#### 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` プロパティを渡すことで、[セレクトボックスを制御されたコンポーネント (controlled component)](#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) コンポーネントを子として受け入れます。カスタムコンポーネントを渡しても構いませんが、その場合は最終的に上記のコンポーネントのいずれかにレンダーされる必要があります。`