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

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