From 50d29587a85feae9095cf7ec3e2a5db514aba311 Mon Sep 17 00:00:00 2001 From: "translate-react-bot[bot]" <251169733+translate-react-bot[bot]@users.noreply.github.com> Date: Wed, 4 Feb 2026 15:11:00 +0000 Subject: [PATCH 1/2] =?UTF-8?q?docs:=20translate=20`link.md`=20to=20=D0=A0?= =?UTF-8?q?=D1=83=D1=81=D1=81=D0=BA=D0=B8=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reference/react-dom/components/link.md | 124 +++++++++--------- 1 file changed, 62 insertions(+), 62 deletions(-) diff --git a/src/content/reference/react-dom/components/link.md b/src/content/reference/react-dom/components/link.md index 41236eb3dc..c42f571215 100644 --- a/src/content/reference/react-dom/components/link.md +++ b/src/content/reference/react-dom/components/link.md @@ -4,7 +4,7 @@ link: "" -The [built-in browser `` component](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link) lets you use external resources such as stylesheets or annotate the document with link metadata. +Встроенный браузерный компонент [``](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link) позволяет использовать внешние ресурсы, такие как таблицы стилей, или аннотировать документ метаданными ссылок. ```js @@ -16,94 +16,94 @@ The [built-in browser `` component](https://developer.mozilla.org/en-US/do --- -## Reference {/*reference*/} +## Справочник {/*reference*/} ### `` {/*link*/} -To link to external resources such as stylesheets, fonts, and icons, or to annotate the document with link metadata, render the [built-in browser `` component](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link). You can render `` from any component and React will [in most cases](#special-rendering-behavior) place the corresponding DOM element in the document head. +Чтобы связать внешние ресурсы, такие как таблицы стилей, шрифты и значки, или аннотировать документ метаданными ссылок, используйте встроенный браузерный компонент [``](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link). Вы можете рендерить `` из любого компонента, и React [в большинстве случаев](#special-rendering-behavior) поместит соответствующий DOM-элемент в `` документа. ```js ``` -[See more examples below.](#usage) +[См. примеры ниже.](#usage) #### Props {/*props*/} -`` supports all [common element props.](/reference/react-dom/components/common#props) +`` поддерживает все [общие props элементов.](/reference/react-dom/components/common#props) -* `rel`: a string, required. Specifies the [relationship to the resource](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel). React [treats links with `rel="stylesheet"` differently](#special-rendering-behavior) from other links. +* `rel`: строка, обязательный. Указывает [отношение к ресурсу](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel). React [обрабатывает ссылки с `rel="stylesheet"` иначе](#special-rendering-behavior), чем другие ссылки. -These props apply when `rel="stylesheet"`: +Эти props применяются, когда `rel="stylesheet"`: -* `precedence`: a string. Tells React where to rank the `` DOM node relative to others in the document ``, which determines which stylesheet can override the other. React will infer that precedence values it discovers first are "lower" and precedence values it discovers later are "higher". Many style systems can work fine using a single precedence value because style rules are atomic. Stylesheets with the same precedence go together whether they are `` or inline `