import React from "react"; import { ImageSourcePropType, StyleProp, ViewStyle } from "react-native"; import Card from "../Card"; import CardHeader from "../CardHeader"; import { LinearGradient } from "expo-linear-gradient"; interface SimpleTrendingCardProps { backgroundImage: ImageSourcePropType; icon?: React.ReactNode; iconPosition?: "left" | "right"; onPress?: () => void; shadowEffect?: boolean; shadowOpacity? : number; style?: StyleProp; } const SimpleTrendingCard: React.FC = ({ backgroundImage, onPress, icon, iconPosition = "left", shadowEffect = true, shadowOpacity = 0.5, style, }) => { return ( {shadowEffect && ( )} {icon && ( )} ); }; export default SimpleTrendingCard;