import React from 'react'; import { View } from 'react-native'; import { Text } from 'react-native-paper'; import { DTCard, DTLabel, DTStaggerContainer, useDTTheme, useScaleIn, usePulse, } from '@dangerousthings/react-native'; import type { DTVariant } from '@dangerousthings/react-native'; import { ScreenContainer } from '../components/ScreenContainer'; import { DemoSection } from '../components/DemoSection'; import { CodeLabel } from '../components/CodeLabel'; import { Animated } from 'react-native'; export function AnimationsScreen() { const theme = useDTTheme(); const scaleAnim = useScaleIn({ duration: 600 }); const pulseAnim = usePulse(true); const modes: DTVariant[] = ['normal', 'emphasis', 'warning', 'success', 'other']; return ( {/* Stagger Container */} {modes.map((mode) => ( Staggered entrance with scale animation ))} {/* Stagger with Labels */} {modes.map((mode) => ( ))} {/* Scale-In Hook */} This card used useScaleIn({ duration: 600 }) {/* Pulse Hook */} ); }