import { Text } from 'react-native';

import { Card } from './card';

export const ErrorState = ({ message }: { message: string }) => (
  <Card>
    <Text className='font-semibold text-red-600'>Something went wrong</Text>
    <Text className='text-muted-foreground mt-2 text-sm'>{message}</Text>
  </Card>
);
