import React from "react";
import { View, Text } from "react-native";

export default function ErrorDisplay({ errorMessage }) {
  return (
    <View style={{ backgroundColor: "red", paddingLeft:10, paddingVertical:8 }}>
      <Text>{errorMessage}</Text>
    </View>
  );
}
