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