Skip to content

Instantly share code, notes, and snippets.

@southxzx
Created April 21, 2023 07:18
Show Gist options
  • Save southxzx/b84c0a82dfc82d19c042ff9fbeb6bf5d to your computer and use it in GitHub Desktop.
Save southxzx/b84c0a82dfc82d19c042ff9fbeb6bf5d to your computer and use it in GitHub Desktop.
const WelcomeScreen: React.FC = () => {
return (
<AnimatedSwiper>
{listData.map(data => (
<View style={styles.imageContainer} key={data.key}>
<Image source={data.img} alt="Welcome1" style={styles.img} resizeMode="cover" />
<View style={styles.textContainer}>
<Text style={styles.textTitle}>{data.title}</Text>
<Text style={styles.textDescription}>{data.description}</Text>
</View>
</View>
))}
</AnimatedSwiper>
);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment