import React from 'react' const PILLS = [ { key: 'uploads_count', label: 'Artworks', icon: 'fa-images', tab: 'artworks' }, { key: 'downloads_received_count', label: 'Downloads', icon: 'fa-download', tab: null }, { key: 'follower_count', label: 'Followers', icon: 'fa-users', tab: 'about' }, { key: 'following_count', label: 'Following', icon: 'fa-user-check', tab: 'about' }, { key: 'artwork_views_received_count', label: 'Views', icon: 'fa-eye', tab: 'stats' }, { key: 'awards_received_count', label: 'Awards', icon: 'fa-trophy', tab: 'stats' }, ] /** * ProfileStatsRow * Horizontal scrollable pill row of stat counts. * Clicking a pill navigates to the relevant tab. */ export default function ProfileStatsRow({ stats, followerCount, onTabChange }) { const values = { uploads_count: stats?.uploads_count ?? 0, downloads_received_count: stats?.downloads_received_count ?? 0, follower_count: followerCount ?? 0, following_count: stats?.following_count ?? 0, artwork_views_received_count: stats?.artwork_views_received_count ?? 0, awards_received_count: stats?.awards_received_count ?? 0, } return (