ActivityIndicator

This component displays an animated “spinner” control that tells the user that an operation is pending. Animation continues as long as the component is displayed.

Props

// Color of indicator
color: color;

// Number of ms to wait before displaying
deferTime: number = 0;

// Size of indicator (exact sizes are platform-specific)
size: 'large' | 'medium' | 'small' | 'tiny';

// ID that can be used to identify the instantiated element for testing purposes.
testId: string = undefined;

Styles

Flexbox Styles

View Styles

Transform Styles

Methods

No methods