import React from 'react'; import { View } from 'react-native'; import { useTheme } from '~/features/theme/ThemeProvider'; interface StatisticsSectionSkeletonProps { children: React.ReactNode; showTitle?: boolean; } /** * Skeleton wrapper for StatisticsSection * Matches exact StatisticsSection structure: Title + marginBottom: 24 */ const StatisticsSectionSkeleton: React.FC = ({ children, showTitle = true, }) => { const { isDark } = useTheme(); const skeletonColor = isDark ? 'rgba(255, 255, 255, 0.1)' : 'rgba(0, 0, 0, 0.1)'; return ( <> {/* Section title skeleton - matches StatisticsSection title styling */} {showTitle && ( )} {/* Section content container - matches StatisticsSection structure */} {children} ); }; export default StatisticsSectionSkeleton;