diff --git a/src/content/reference/react-dom/components/form.md b/src/content/reference/react-dom/components/form.md index 115e6a4cd2..5e13968f92 100644 --- a/src/content/reference/react-dom/components/form.md +++ b/src/content/reference/react-dom/components/form.md @@ -4,7 +4,7 @@ title: "
" -The [built-in browser `` component](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form) lets you create interactive controls for submitting information. +Встроенный компонент браузера `` позволяет создавать интерактивные элементы для отправки информации. ```js @@ -19,11 +19,11 @@ The [built-in browser `` component](https://developer.mozilla.org/en-US/do --- -## Reference {/*reference*/} +## Справочник {/*reference*/} ### `` {/*form*/} -To create interactive controls for submitting information, render the [built-in browser `` component](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form). +Для создания интерактивных элементов для отправки информации используйте встроенный компонент браузера ``. ```js @@ -32,25 +32,25 @@ To create interactive controls for submitting information, render the [built-in ``` -[See more examples below.](#usage) +[См. примеры ниже.](#usage) -#### Props {/*props*/} +#### Пропсы {/*props*/} -`
` supports all [common element props.](/reference/react-dom/components/common#props) +`` поддерживает все [общие пропсы элементов](/reference/react-dom/components/common#props). -[`action`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#action): a URL or function. When a URL is passed to `action` the form will behave like the HTML form component. When a function is passed to `action` the function will handle the form submission. The function passed to `action` may be async and will be called with a single argument containing the [form data](https://developer.mozilla.org/en-US/docs/Web/API/FormData) of the submitted form. The `action` prop can be overridden by a `formAction` attribute on a `