Skip to content

Commit

Permalink
centered button
Browse files Browse the repository at this point in the history
  • Loading branch information
kanzitelli committed Oct 5, 2020
1 parent 8a8bcbe commit 3ce84d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Reanimated2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const Reanimated2: React.FC = () => {
<View style={styles.container}>
<Animated.View style={[styles.box, animatedStyles]} />
<ButtonTitle
centered
title={'Move'}
onPress={() => {
offset.value = withSpring(Math.random());
Expand Down

0 comments on commit 3ce84d4

Please sign in to comment.