版本: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).
| Type | Default |
|---|---|
| bool | true |
color
The foreground color of the spinner.
| Type | Default |
|---|---|
| color | null (system accent color default)Android '#999999' iOS |
hidesWhenStopped iOS
Whether the indicator should be hidden when not animating.
| Type | Default |
|---|---|
| bool | true |
ref
A ref setter that will be assigned an element node when mounted.
size
The size of the indicator.
| Type | Default |
|---|---|
enum('small', 'large')number Android | 'small' |