import React from 'react'; import { View } from 'react-native'; import { useTheme } from '~/features/theme/ThemeProvider'; interface StatRowSkeletonProps { showSubtitle?: boolean; isLast?: boolean; } /** * Skeleton loader for StatRow component * Matches exact StatRow structure and dimensions */ const StatRowSkeleton: React.FC = ({ showSubtitle = false, isLast = false, }) => { const { isDark, themeVariant } = useTheme(); const borderColor = isDark ? 'rgba(255, 255, 255, 0.1)' : 'rgba(0, 0, 0, 0.1)'; const skeletonColor = isDark ? 'rgba(255, 255, 255, 0.1)' : 'rgba(0, 0, 0, 0.1)'; return ( {/* Icon skeleton - matches exact StatRow icon */} {/* Content skeleton - matches StatRow flex: 1, marginLeft: 12 */} {showSubtitle && ( )} {/* Value skeleton - matches StatRow value styling */} ); }; export default StatRowSkeleton;