ActivityIndicator
Displays a customizable activity indicator.
import { ActivityIndicator } from 'react-native';
<ActivityIndicator {...props} />;
API
Props
animating ?boolean
Default true
. Set whether the activity indicator is animating.
color ?string
Default "#1976D2"
. Set the color of the activity indicator.
hidesWhenStopped ?boolean
Default true
. Set whether the activity indicator is hidden when not animating.
size ?("small" | "large" | number)
Default "small"
. Set the size of the activity indicator.