From c8b3bfff55abe7a2ab707a37134898b5aea41b83 Mon Sep 17 00:00:00 2001 From: farisadlin Date: Sat, 20 Jul 2024 07:17:40 +0700 Subject: [PATCH 01/10] feature: done translating Link component to Indonesian --- .../reference/react-dom/components/link.md | 146 +++++++++--------- 1 file changed, 73 insertions(+), 73 deletions(-) diff --git a/src/content/reference/react-dom/components/link.md b/src/content/reference/react-dom/components/link.md index 730d9e995..83eb86122 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). +Ekstensi React untuk `` saat ini hanya tersedia di kanal canary dan eksperimental React. Pada rilis stabil React, `` hanya berfungsi sebagai [komponen HTML bawaan peramban](https://react.dev/reference/react-dom/components#all-html-components). Pelajari lebih lanjut tentang [kanal rilis React di sini](/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. +[komponen `` bawaan peramban](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link) memungkinkan Anda menggunakan sumber daya eksternal seperti stylesheet atau memberi anotasi pada dokumen dengan metadata tautan. ```js @@ -23,94 +23,94 @@ The [built-in browser `` component](https://developer.mozilla.org/en-US/do --- -## Reference {/*reference*/} +## Referensi {/*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. +Untuk menautkan ke sumber daya eksternal seperti stylesheet, font, dan ikon, atau untuk memberi anotasi pada dokumen dengan metadata tautan, renderlah [komponen `` bawaan peramban](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link). Anda dapat merender `` dari komponen mana pun dan React [dalam kebanyakan kasus](#special-rendering-behavior) akan menempatkan elemen DOM yang sesuai di bagian kepala dokumen. ```js ``` -[See more examples below.](#usage) +[Lihat lebih banyak contoh di bawah ini.](#usage) -#### Props {/*props*/} +#### Properti {/*props*/} -`` supports all [common element props.](/reference/react-dom/components/common#props) +`` mendukung semua [properti elemen umum.](/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`: string, dibutuhkan. Menentukan [hubungan dengan sumber daya](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel). React [memperlakukan tautan dengan rel="stylesheet" secara berbeda](#special-rendering-behavior) dari tautan lainnya. -These props apply when `rel="stylesheet"`: +Properti-properti ini berlaku ketika `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 `