diff options
Diffstat (limited to 'components/hello-wave.tsx')
| -rw-r--r-- | components/hello-wave.tsx | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/components/hello-wave.tsx b/components/hello-wave.tsx new file mode 100644 index 0000000..5def547 --- /dev/null +++ b/components/hello-wave.tsx @@ -0,0 +1,19 @@ +import Animated from 'react-native-reanimated'; + +export function HelloWave() { + return ( + <Animated.Text + style={{ + fontSize: 28, + lineHeight: 32, + marginTop: -6, + animationName: { + '50%': { transform: [{ rotate: '25deg' }] }, + }, + animationIterationCount: 4, + animationDuration: '300ms', + }}> + 👋 + </Animated.Text> + ); +} |