W3cubDocs

/React Native

ActivityIndicator

Displays a circular loading indicator.

Reference

Props

View Props

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
iOS

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