W3cubDocs

/React Native

ActivityIndicator

Displays a circular loading indicator.

Props

ViewPropTypes props...

animating?: bool

Whether to show the indicator (true, the default) or hide it (false).

color?: color

The foreground color of the spinner (default is gray).

size?: enum('small', 'large'), number

Size of the indicator (default is 'small'). Passing a number to the size prop is only supported on Android.

ioshidesWhenStopped?: bool

Whether the indicator should hide when not animating (true by default).

© 2015–2017 Facebook Inc.
Licensed under the Creative Commons Attribution 4.0 International Public License.
https://facebook.github.io/react-native/docs/activityindicator.html