import React from 'react'; import { View, Text, ActivityIndicator, StyleSheet, useColorScheme } from 'react-native'; import { Colors } from '../constants/Colors'; interface LoadingScreenProps { /** Optional message to display */ message?: string; } /** * Loading screen component * Displayed while checking authentication state */ export function LoadingScreen({ message = 'Loading...' }: LoadingScreenProps) { const colorScheme = useColorScheme() ?? 'dark'; const colors = Colors[colorScheme]; return ( Makima {message} ); } const styles = StyleSheet.create({ container: { flex: 1, justifyContent: 'center', alignItems: 'center', }, content: { alignItems: 'center', }, title: { fontSize: 42, fontWeight: 'bold', marginBottom: 24, }, spinner: { marginBottom: 16, }, message: { fontSize: 14, }, });