mirror of
https://github.com/kennethnym/aris.git
synced 2026-03-20 09:01:19 +00:00
21 lines
358 B
TypeScript
21 lines
358 B
TypeScript
|
|
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>
|
||
|
|
)
|
||
|
|
}
|