hiển thị thuyền thông tin tàu

This commit is contained in:
Tran Anh Tuan
2025-12-03 16:22:25 +07:00
parent 47e9bac0f9
commit 22a3b591c6
22 changed files with 2135 additions and 260 deletions

View File

@@ -1,6 +1,6 @@
import { ThemedText } from "@/components/themed-text";
import { useAppTheme } from "@/hooks/use-app-theme";
import { View } from "react-native";
import { ScrollView, View } from "react-native";
interface DescriptionProps {
title?: string;
@@ -13,12 +13,14 @@ export const Description = ({
const { colors } = useAppTheme();
return (
<View className="flex-row gap-2 ">
<ThemedText
style={{ color: colors.textSecondary, fontSize: 16 }}
>
<ThemedText style={{ color: colors.textSecondary, fontSize: 16 }}>
{title}:
</ThemedText>
<ThemedText style={{ fontSize: 16 }}>{description}</ThemedText>
<ScrollView horizontal showsHorizontalScrollIndicator={false}>
<ThemedText style={{ color: colors.textSecondary, fontSize: 16 }}>
{description || "-"}
</ThemedText>
</ScrollView>
</View>
);
};