You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/reference/react-dom/components/progress.md
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ title: "<progress>"
4
4
5
5
<Intro>
6
6
7
-
The [built-in browser `<progress>`component](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress)lets you render a progress indicator.
7
+
[Komponen `<progress>`bawaan peramban](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress)memungkinkan Anda untuk menampilkan indikator progres.
8
8
9
9
```js
10
10
<progress value={0.5} />
@@ -16,36 +16,36 @@ The [built-in browser `<progress>` component](https://developer.mozilla.org/en-U
16
16
17
17
---
18
18
19
-
## Reference {/*reference*/}
19
+
## Referensi {/*reference*/}
20
20
21
21
### `<progress>` {/*progress*/}
22
22
23
-
To display a progress indicator, render the [built-in browser `<progress>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress) component.
23
+
Untuk menampilkan indikator progres, render komponen [`<progress>` bawaan peramban](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress).
24
24
25
25
```js
26
26
<progress value={0.5} />
27
27
```
28
28
29
-
[See more examples below.](#usage)
29
+
[Lihat lebih banyak contoh lainnya di bawah ini.](#usage)
30
30
31
31
#### Props {/*props*/}
32
32
33
-
`<progress>`supports all [common element props.](/reference/react-dom/components/common#props)
33
+
`<progress>`mendukung semua [elemen umum *props*.](/reference/react-dom/components/common#props)
34
34
35
-
Additionally, `<progress>`supports these props:
35
+
Selain itu, `<progress>`juga mendukung *props*:
36
36
37
-
*[`max`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress#attr-max): A number. Specifies the maximum`value`. Defaults to`1`.
38
-
*[`value`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress#attr-value): A number between `0` and `max`, or`null`for intermedinate progress. Specifies how much was done.
37
+
*[`max`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress#attr-max): Sebuah angka. Menentukan nilai maksimum`value`. *Default* ke`1`.
38
+
*[`value`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress#attr-value): Angka antara `0` and `max`, atau`null`untuk progres menengah. Menentukan berapa banyak yang telah dilakukan.
39
39
40
40
---
41
41
42
-
## Usage {/*usage*/}
42
+
## Penggunaan {/*usage*/}
43
43
44
-
### Controlling a progress indicator {/*controlling-a-progress-indicator*/}
To display a progress indicator, render a`<progress>` component. You can pass a number `value`between`0`and the`max`value you specify. If you don't pass a`max` value, it will assumed to be`1`by default.
46
+
Untuk menampilkan indikator progres, render komponen`<progress>`. Anda dapat mengoper nilai `value`antara`0`dan nilai`max`yang anda tentukan. Jika Anda tidak memberikan nilai`max`, nilai tersebut akan dianggap sebagai`1`secara *default*.
47
47
48
-
If the operation is not ongoing, pass`value={null}`to put the progress indicator into an indeterminate state.
48
+
Jika operasi tidak sedang berlangsung, berikan`value={null}`untuk mendapatkan indikator progres ke *state* tidak tentu *(indeterminate)*.
0 commit comments