import React from 'react'; import { View, ActivityIndicator, StyleSheet } from 'react-native'; import { Colors } from '../../constants/Colors'; interface LoadingSpinnerProps { size?: 'small' | 'large'; color?: string; fullScreen?: boolean; } export default function LoadingSpinner({ size = 'large', color = Colors.accent, fullScreen = false, }: LoadingSpinnerProps) { const containerStyle = fullScreen ? styles.fullScreen : styles.container; return ( ); } const styles = StyleSheet.create({ container: { padding: 20, alignItems: 'center', justifyContent: 'center', }, fullScreen: { flex: 1, alignItems: 'center', justifyContent: 'center', backgroundColor: Colors.background, }, });