Displays a circular loading indicator.
Inherits View Props.
animating
Whether to show the indicator (true
) or hide it (false
).
Type | Default |
---|---|
bool | true |
color
The 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 |
size
Size 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