Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Le Tom authored and Le Tom committed Sep 1, 2020
1 parent f4ab200 commit 3c0f016
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions README.md
Expand Up @@ -71,11 +71,17 @@ const FacebookContent = () => {
const thirdLineRef = React.createRef()

React.useEffect(() => {
const facebookAnimated = Animated.stagger(400, [avatarRef.current.getAnimated(), Animated.parallel([
firstLineRef.current.getAnimated(),
secondLineRef.current.getAnimated(),
thirdLineRef.current.getAnimated()
])])
const facebookAnimated = Animated.stagger(
400,
[
avatarRef.current.getAnimated(),
Animated.parallel([
firstLineRef.current.getAnimated(),
secondLineRef.current.getAnimated(),
thirdLineRef.current.getAnimated()
])
]
);
Animated.loop(facebookAnimated).start();
}, [])

Expand Down

0 comments on commit 3c0f016

Please sign in to comment.