import React, { useState } from 'react'; import { View, ScrollView } from 'react-native'; import { useTheme } from '~/features/theme/ThemeProvider'; import Text from './atoms/Text'; import Button from './atoms/Button'; import { PulsingLogoAnimation } from './molecules/PulsingLogoAnimation'; import { SpinnerAnimation } from './molecules/SpinnerAnimation'; import { DotsAnimation } from './molecules/DotsAnimation'; import { LogoSpinnerAnimation } from './molecules/LogoSpinnerAnimation'; /** * Demo-Screen zum Vergleichen aller Loading-Animationen * * Zum Testen: Importiere diese Komponente temporär in einer Route */ export default function LoadingAnimationDemo() { const { isDark, colors } = useTheme(); const [selectedAnimation, setSelectedAnimation] = useState('all'); const animations = [ { id: 'pulsing', name: 'Pulsing Logo', description: 'Minimalistisch - Logo pulst sanft', component: , recommended: true, }, { id: 'spinner', name: 'Spinner', description: 'Modern - Rotierender Ring', component: , recommended: false, }, { id: 'dots', name: 'Three Dots', description: 'Subtil - Drei pulsierende Punkte', component: , recommended: false, }, { id: 'logo-spinner', name: 'Logo + Spinner', description: 'Branded - Logo mit rotierendem Ring', component: , recommended: true, }, ]; return ( Loading Animations Wähle eine Animation oder betrachte alle {/* Filter Buttons */}