Version: 0.63
ActivityIndicator
Displays a circular loading indicator.
Example
- Function Component Example
- Class Component Example
Reference
Props
Inherits View Props.
animating
Whether to show the indicator (true
) or hide it (false
).
Type | Required | Default |
---|---|---|
bool | No | true |
color
The foreground color of the spinner.
Type | Required | Default |
---|---|---|
color | No | null (system accent default color)Android '#999999' iOS |
hidesWhenStopped
iOS
Whether the indicator should hide when not animating.
Type | Required | Default |
---|---|---|
bool | No | true |
size
Size of the indicator.
Type | Required | Default |
---|---|---|
enum('small' , 'large' )number Android | No | 'small' |