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/ru/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/ru/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>`поддерживает все [пропсы общих HTML-элементов.](/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#max): A number. Specifies the maximum `value`. Defaults to`1`.
38
-
*[`value`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress#value): A number between `0`and`max`, or`null`for indeterminate progress. Specifies how much was done.
37
+
*[`max`](https://developer.mozilla.org/ru/docs/Web/HTML/Element/progress#max): число. Указывает максимальное `value`. По умолчанию`1`.
38
+
*[`value`](https://developer.mozilla.org/ru/docs/Web/HTML/Element/progress#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