diff --git a/src/content/reference/react-dom/components/link.md b/src/content/reference/react-dom/components/link.md index 9172a66e7..4c80544cf 100644 --- a/src/content/reference/react-dom/components/link.md +++ b/src/content/reference/react-dom/components/link.md @@ -5,13 +5,13 @@ canary: true -React's extensions to `` are currently only available in React's canary and experimental channels. In stable releases of React `` works only as a [built-in browser HTML component](https://react.dev/reference/react-dom/components#all-html-components). Learn more about [React's release channels here](/community/versioning-policy#all-release-channels). +As extensões do React para `` estão disponíveis atualmente apenas nos canais canary e experimental do React. Nas versões estáveis do React, `` funciona apenas como um [componente HTML incorporado do navegador](https://react.dev/reference/react-dom/components#all-html-components). Saiba mais sobre [os canais de lançamento do React aqui](/community/versioning-policy#all-release-channels). -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. +O [componente `` incorporado do navegador](https://developer.mozilla.org/pt-BR/docs/Web/HTML/Element/link) permite usar recursos externos, como folhas de estilo, ou anotar o documento com metadados de links. ```js @@ -23,94 +23,94 @@ The [built-in browser `` component](https://developer.mozilla.org/en-US/do --- -## Reference {/*reference*/} +## Referência {/*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. +Para vincular a recursos externos, como folhas de estilo, fontes e ícones, ou para anotar o documento com metadados de links, renderize o [componente `` incorporado do navegador](https://developer.mozilla.org/pt-BR/docs/Web/HTML/Element/link). Você pode renderizar `` de qualquer componente e o React [na maioria dos casos](#special-rendering-behavior) colocará o elemento DOM correspondente no cabeçalho do documento. ```js ``` -[See more examples below.](#usage) +[Veja mais exemplos abaixo.](#usage) #### Props {/*props*/} -`` supports all [common element props.](/reference/react-dom/components/common#props) +`` suporta todas as [props comuns de elemento.](/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`: uma string, obrigatória. Especifica a [relação com o recurso](https://developer.mozilla.org/pt-BR/docs/Web/HTML/Attributes/rel). O React [trata links com `rel="stylesheet"` de forma diferente](#special-rendering-behavior) de outros links. -These props apply when `rel="stylesheet"`: +Essas props se aplicam quando `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. Its value can be (in order of precedence) `"reset"`, `"low"`, `"medium"`, `"high"`. Stylesheets with the same precedence go together whether they are `` or inline `