Skip to main content
This is documentation for React Native 0.79, which is no longer in active development.
For up-to-date documentation, see the latest version (0.83).
Version: 0.79

ActivityIndicator

Displays a circular loading indicator.

Example

Reference

Props

View Props

Inherits View Props.


animating

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

TypeDefault
booltrue

color

The foreground color of the spinner.

TypeDefault
color null (system accent default color)
Android

(追記) (追記ここまで)'#999999'
iOS

hidesWhenStopped
iOS

Whether the indicator should hide when not animating.

TypeDefault
booltrue

size

Size of the indicator.

TypeDefault
enum('small', 'large')
number
Android
'small'

AltStyle によって変換されたページ (->オリジナル) /