Displays a circular loading indicator.
Inherits View Props.
animatingWhether to show the indicator (true) or hide it (false).
| Type | Default |
|---|---|
| bool | true |
colorThe foreground color of the spinner.
| Type | Default |
|---|---|
| color |
null (system accent default color)Android
'#999999' iOS
|
hidesWhenStopped Whether the indicator should hide when not animating.
| Type | Default |
|---|---|
| bool | true |
sizeSize of the indicator.
| Type | Default |
|---|---|
enum('small', 'large')number Android
|
'small' |
© 2022 Facebook Inc.
Licensed under the Creative Commons Attribution 4.0 International Public License.
https://reactnative.dev/docs/activityindicator