Skip to content

Commit

Permalink
Merge pull request #17567 from Expensify/georgia-signin-animation
Browse files Browse the repository at this point in the history
Animate Hands on Sign-In Page
  • Loading branch information
marcochavezf authored Apr 27, 2023
2 parents 47898da + c0cbda3 commit 28ce89a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions assets/animations/Hands.json

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions src/pages/signin/SignInHeroImage.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {View} from 'react-native';
import React from 'react';
import Lottie from 'lottie-react-native';
import hands from '../../../assets/animations/Hands.json';
import withWindowDimensions, {windowDimensionsPropTypes} from '../../components/withWindowDimensions';
import * as Illustrations from '../../components/Icon/Illustrations';
import styles from '../../styles/styles';
import variables from '../../styles/variables';

Expand Down Expand Up @@ -29,12 +29,12 @@ const SignInHeroImage = (props) => {
}

return (
<View style={[styles.alignSelfCenter, imageSize]}>
<Illustrations.Hands
width="100%"
height="100%"
/>
</View>
<Lottie
source={hands}
loop
autoPlay
style={[styles.alignSelfCenter, imageSize]}
/>
);
};

Expand Down

0 comments on commit 28ce89a

Please sign in to comment.