import React from 'react'; import { View, StyleSheet } from 'react-native'; import { Skeleton, SkeletonText, SkeletonCircle } from '../ui/Skeleton'; import { useTheme } from '../../theme/ThemeContext'; /** * Skeleton para una notificación */ export function NotificationItemSkeleton() { const { colors } = useTheme(); return ( ); } /** * Lista de skeletons de notificaciones */ export function NotificationListSkeleton({ count = 6 }: { count?: number }) { return ( {Array.from({ length: count }).map((_, index) => ( ))} ); } /** * Skeleton para el header de notificaciones */ export function NotificationHeaderSkeleton() { const { colors } = useTheme(); return ( ); } const styles = StyleSheet.create({ container: { flexDirection: 'row', padding: 16, borderBottomWidth: 1, }, content: { flex: 1, marginLeft: 12, }, indicator: { justifyContent: 'center', paddingLeft: 8, }, header: { flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', padding: 16, borderBottomWidth: 1, }, });