Skip to main content
Version: 0.61

ActivityIndicator

Displays a circular loading indicator.

Example


Reference

Props

Inherits View Props.

animating

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

TypeRequired
boolNo

color

The foreground color of the spinner (default is gray on iOS and dark cyan on Android).

TypeRequired
colorNo

hidesWhenStopped

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

TypeRequiredPlatform
boolNoiOS

size

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

TypeRequired
enum('small', 'large'), numberNo