跳到主要内容
版本:0.85

ActivityIndicator

Displays a circular loading indicator.

Example

Reference

Props

View Props

Inherits View Props.


animating

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

TypeDefault
booltrue

color

The foreground color of the spinner.

TypeDefault
colornull (system accent color default)
Android

'#999999'
iOS

hidesWhenStopped
iOS

Whether the indicator should be hidden when not animating.

TypeDefault
booltrue

ref

A ref setter that will be assigned an element node when mounted.


size

The size of the indicator.

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