import { StyleSheet, Text } from 'react-native'; type StatusMessageProps = { message: string; tone?: 'error' | 'success'; }; export function StatusMessage({ message, tone = 'error', }: StatusMessageProps) { return ( {message} ); } const styles = StyleSheet.create({ base: { borderRadius: 10, paddingHorizontal: 12, paddingVertical: 10, }, error: { backgroundColor: '#fde7e9', color: '#9f1d35', }, success: { backgroundColor: '#e1f5e8', color: '#166534', }, });