import React from 'react'; import { View } from 'react-native'; import { useTheme } from '~/features/theme/ThemeProvider'; /** * Skeleton loader for WeekdayChart component * Matches exact WeekdayChart structure: just a simple list, not a bar chart */ const WeekdayChartSkeleton: React.FC = () => { 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 ( {/* Chart title skeleton - matches WeekdayChart title styling */} {/* Weekday items skeleton - matches WeekdayChart list items */} {[1, 2, 3].map((index) => ( {/* Day name skeleton - matches WeekdayChart day styling */} {/* Count skeleton - matches WeekdayChart count styling */} ))} ); }; export default WeekdayChartSkeleton;