ActivityIndicator
Displays a circular loading indicator.
Exampleβ
- Function Component
- Class Component
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' |