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' |