From a06f6ada4e3905df49fe297d8393bb70ebca31be Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Wed, 13 Mar 2024 23:47:01 +0000 Subject: [PATCH] experiment: animate between screens --- src/screens/Login/index.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/screens/Login/index.tsx b/src/screens/Login/index.tsx index 3bd2df60..028a497d 100644 --- a/src/screens/Login/index.tsx +++ b/src/screens/Login/index.tsx @@ -2,6 +2,8 @@ import React from 'react' import {KeyboardAvoidingView} from 'react-native' import {useAnalytics} from '#/lib/analytics/analytics' import {useLingui} from '@lingui/react' +import Animated, {FadeInRight, FadeOutLeft} from 'react-native-reanimated' + import {LoggedOutLayout} from '#/view/com/util/layouts/LoggedOutLayout' import {SessionAccount, useSession} from '#/state/session' import {DEFAULT_SERVICE} from '#/lib/constants' @@ -159,7 +161,12 @@ export const Login = ({onPressBack}: {onPressBack: () => void}) => { return ( - {content} + + {content} + )