empty placeholder

This commit is contained in:
xianyi
2026-01-23 15:38:03 +08:00
parent a7b77963fd
commit c9516b4899
22 changed files with 164 additions and 111 deletions

View File

@@ -1,3 +1,4 @@
import { EmptyPlaceholder } from "@/components/empty-placeholder";
import { ThemedText } from "@/components/themed-text";
import { MatchDetailData } from "@/types/api";
import React from "react";
@@ -143,7 +144,9 @@ export function BasketballScoreTable({
<View style={styles.teamCell}>
{row.logo && row.logo.trim() !== "" && !row.logo.includes("placehold") ? (
<Image source={{ uri: row.logo }} style={styles.teamLogo} />
) : null}
) : (
<EmptyPlaceholder type="team" size={28} />
)}
<ThemedText style={[styles.teamName, { color: textColor }]} numberOfLines={1}>
{row.name}
</ThemedText>