import {Image, Text, View} from 'react-native'; import React from 'react'; import LottieView from 'lottie-react-native'; import {getBranding} from '../../branding'; import { useMyStepsVerification } from '../../provider/verification.context'; const AnimationComponent = (props?: any) => { const context = useMyStepsVerification(); const { t, isRTL } = context; return ( <> {!props?.loading && !props?.verificationLoading && ( {t.guidanceIntro} {t.bestPictureResult} {t.findGoodLighting} )} {props?.loading && ( {t.gettingReady} )} {props?.verificationLoading && ( {context.resultContent?.verification?.heading || t.pleaseWaitVerifying} )} ); }; export default AnimationComponent;