18 lines
539 B
TypeScript
18 lines
539 B
TypeScript
import { Text, View } from "react-native";
|
|
|
|
import { useT } from "@/lib/i18n";
|
|
|
|
// react-native-maps does not support web. This stub keeps the web bundle
|
|
// working for local testing; use a native build for real map functionality.
|
|
export const Map = () => {
|
|
const t = useT();
|
|
|
|
return (
|
|
<View className="w-full h-full rounded-2xl bg-general-100 flex items-center justify-center">
|
|
<Text className="text-general-200 text-center font-JakartaMedium">
|
|
{t("components.map.webUnavailable")}
|
|
</Text>
|
|
</View>
|
|
);
|
|
};
|