import { Intent, Size } from '@idealyst/theme'; import type { StyleProp, ViewStyle } from 'react-native'; import { BaseProps } from '../utils/viewStyleProps'; import { LiveRegionAccessibilityProps } from '../utils/accessibility'; // Component-specific type aliases for future extensibility export type ActivityIndicatorIntentVariant = Intent; export type ActivityIndicatorSizeVariant = Size; export interface ActivityIndicatorProps extends BaseProps, LiveRegionAccessibilityProps { /** * Whether the indicator is animating (visible) * @default true */ animating?: boolean; /** * The size of the indicator * @default "medium" */ size?: ActivityIndicatorSizeVariant; /** * The color/intent of the indicator * @default "primary" */ intent?: ActivityIndicatorIntentVariant; /** * Custom color to override intent */ color?: string; /** * Additional styles to apply to the container */ style?: StyleProp; /** * Test identifier for testing */ testID?: string; /** * Whether to hide the indicator when not animating * @default true */ hidesWhenStopped?: boolean; }