import { View, Text, Image, Platform, Pressable } from "react-native"; import React from "react"; import { BlurView } from "expo-blur"; import { img } from "../../../assets"; import { Palette, Style } from "../../../styles"; import { FONT_FAMILY } from "../../../styles/Fonts"; import SubscriptionBadge from "../../../components/SubscriptionBadge"; const PlaybacksCard = ({ rank = 1, title = "Sans titre", artist = "MusicLand", thumbnailUrl = null, coverUrl = null, onPress = () => null, subscriptionLevel = null, }) => { const resolveUri = (value) => typeof value === "string" && value.trim().length > 0 ? value : null; const imageUri = resolveUri(thumbnailUrl) ?? resolveUri(coverUrl); return ( {rank} {title} {artist} ); }; export default PlaybacksCard;