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
+16-9Lines changed: 16 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,17 @@
1
1
---
2
2
title: "<progress>"
3
+
translationStatus: ai-draft
3
4
---
4
5
6
+
<Note>
7
+
8
+
Questa pagina è stata tradotta automaticamente e supervisionata da un maintainer. Un'ulteriore revisione da parte della community sarebbe comunque utile. [Migliora questa traduzione](https://github.com/reactjs/it.react.dev/edit/main/src/content/reference/react-dom/components/progress.md).
9
+
10
+
</Note>
11
+
5
12
<Intro>
6
13
7
-
The [built-in browser `<progress>` component](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress)lets you render a progress indicator.
14
+
Il [componente browser integrato `<progress>`](https://developer.mozilla.org/it/docs/Web/HTML/Element/progress)ti permette di renderizzare un indicatore di progresso.
8
15
9
16
```js
10
17
<progress value={0.5} />
@@ -20,32 +27,32 @@ The [built-in browser `<progress>` component](https://developer.mozilla.org/en-U
20
27
21
28
### `<progress>` {/*progress*/}
22
29
23
-
To display a progress indicator, render the [built-in browser `<progress>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress) component.
30
+
Per visualizzare un indicatore di progresso, renderizza il [componente browser integrato `<progress>`](https://developer.mozilla.org/it/docs/Web/HTML/Element/progress).
24
31
25
32
```js
26
33
<progress value={0.5} />
27
34
```
28
35
29
-
[See more examples below.](#usage)
36
+
[Vedi altri esempi sotto.](#usage)
30
37
31
38
#### Props {/*props*/}
32
39
33
-
`<progress>`supports all [common element props.](/reference/react-dom/components/common#common-props)
40
+
`<progress>`supporta tutte le [props comuni degli elementi.](/reference/react-dom/components/common#common-props)
34
41
35
-
Additionally, `<progress>`supports these props:
42
+
Inoltre, `<progress>`supporta queste props:
36
43
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.
44
+
*[`max`](https://developer.mozilla.org/it/docs/Web/HTML/Element/progress#max): Un numero. Specifica il `value` massimo. Predefinito:`1`.
45
+
*[`value`](https://developer.mozilla.org/it/docs/Web/HTML/Element/progress#value): Un numero compreso tra `0`e`max`, oppure`null`per un progresso indeterminato. Specifica quanto è stato completato.
39
46
40
47
---
41
48
42
49
## Usage {/*usage*/}
43
50
44
51
### Controlling a progress indicator {/*controlling-a-progress-indicator*/}
45
52
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.
53
+
Per visualizzare un indicatore di progresso, renderizza un componente `<progress>`. Puoi passare un numero `value`compreso tra `0`e il valore di `max`che specifichi. Se non passi un valore`max`, viene assunto `1`per impostazione predefinita.
47
54
48
-
If the operation is not ongoing, pass`value={null}`to put the progress indicator into an indeterminate state.
55
+
Se l'operazione non è in corso, passa`value={null}`per mettere l'indicatore di progresso in uno stato indeterminato.
0 commit comments