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
+13-13Lines changed: 13 additions & 13 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
+
يتيح لك [مكون `<progress>`المدمَج في المتصفح](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress)عرض مؤشر التقدم
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
+
## المرجع {/*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
+
لعرض مؤشر التقدم، استخدم عنصر [`<progress>` المدمج في المتصفح](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
+
[اطّلع على المزيد من الأمثلة في الأسفل.](#usage)
30
30
31
-
#### Props {/*props*/}
31
+
###الخصائص {/*props*/}
32
32
33
-
`<progress>`supports all [common element props.](/reference/react-dom/components/common#props)
33
+
يدعم `<progress>`جميع [خصائص العناصر الشائعة](/reference/react-dom/components/common#props)
34
34
35
-
Additionally, `<progress>`supports these props:
35
+
بالإضافة إلى ذالك، يدعم `<progress>`هذه الخصائص:
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 indeterminate progress. Specifies how much was done.
37
+
*[`max`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress#attr-max): رقم. يحدد القيمة `value` القصوى. القيمة الافتراضية هي`1`.
38
+
*[`value`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress#attr-value): رقم بين `0`و`max`، أو`null`للتقدم غير المحدد. يحدد مدى الانجاز.
39
39
40
40
---
41
41
42
-
## Usage {/*usage*/}
42
+
## الاستخدام {/*usage*/}
43
43
44
-
### Controlling a progress indicator {/*controlling-a-progress-indicator*/}
44
+
### التحكم في مؤشر التقدم {/*controlling-a-progress-indicator*/}
45
45
46
-
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
+
لعرض مؤشر التقدم قم بتصيير مكون `<progress>`، يمكنك تمرير قيمة رقمية `value`بين`0`و القيمة القصوى `max`التي تحددها. إذا لم تمرر قيمة قصوى`max`، فبشكل افتراضي ستكون `1`.
47
47
48
-
If the operation is not ongoing, pass`value={null}`to put the progress indicator into an indeterminate state.
48
+
إذا لم تكن العملية جارية، قم بتمرير`value={null}`لوضع مؤشر التقدم في حالة غير محددة.
0 commit comments