import { Carousel, CarouselItem } from '@/components/ui/carousel'; import { Text } from '@/components/ui/text'; import { View } from '@/components/ui/view'; import { useColor } from '@/hooks/useColor'; import { Minus, TrendingDown, TrendingUp } from 'lucide-react-native'; import React from 'react'; export function CarouselNoIndicators() { const textColor = useColor('text'); const stats = [ { title: 'Revenue', value: '$24,500', change: '+12.5%', trend: 'up', color: '#10b981', }, { title: 'Users', value: '8,432', change: '+5.2%', trend: 'up', color: '#3b82f6', }, { title: 'Orders', value: '1,248', change: '-2.1%', trend: 'down', color: '#ef4444', }, { title: 'Conversion', value: '3.8%', change: '0.0%', trend: 'neutral', color: '#6b7280', }, ]; const getTrendIcon = (trend: string) => { switch (trend) { case 'up': return TrendingUp; case 'down': return TrendingDown; default: return Minus; } }; return ( {stats.map((stat, index) => { const TrendIcon = getTrendIcon(stat.trend); return ( {stat.title} {stat.value} {stat.change} ); })} ); }