ActivityIndicator
ActivityIndicator
Displays a circular loading indicator.
Props
ViewPropTypes props...
animating?: PropTypes.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?: PropTypes.oneOfType([ PropTypes.oneOf([ 'small', 'large' ]), PropTypes.number, ])
Size of the indicator (default is 'small'). Passing a number to the size prop is only supported on Android.
ioshidesWhenStopped?: PropTypes.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