import React from 'react'; import { View, TouchableOpacity } from 'react-native'; import FontAwesome from '@expo/vector-icons/FontAwesome'; import { useTheme } from '~/utils/ThemeContext'; import { ThemedText } from './ThemedView'; interface CardInfoPanelProps { title: string; creator: string; likes: number; isLiked: boolean; onLike: () => void; onShare: () => void; } export const CardInfoPanel: React.FC = ({ title, creator, likes, isLiked, onLike, onShare, }) => { const { theme, isDark } = useTheme(); return ( {/* Title and creator - centered */} {title} by {creator} {/* Action icons - all four in a row */} {likes > 0 && ( {likes} )} ); };