created sign up page ui
This commit is contained in:
committed by
GitHub
parent
77030fd4c2
commit
de8ca40dcf
@@ -1,11 +1,12 @@
|
||||
import { CustomButton } from "@/components/custom-button";
|
||||
import { onboarding } from "@/constants";
|
||||
import { router } from "expo-router";
|
||||
import { useRef, useState } from "react";
|
||||
import { Image, Text, TouchableOpacity, View } from "react-native";
|
||||
import { SafeAreaView } from "react-native-safe-area-context";
|
||||
import Swiper from "react-native-swiper";
|
||||
|
||||
import { CustomButton } from "@/components/custom-button";
|
||||
import { onboarding } from "@/constants";
|
||||
|
||||
const Welcome = () => {
|
||||
const swiperRef = useRef<Swiper>(null);
|
||||
const [activeIndex, setActiveIndex] = useState(0);
|
||||
@@ -32,6 +33,7 @@ const Welcome = () => {
|
||||
<View key={item.id} className="flex items-center justify-center p-5">
|
||||
<Image
|
||||
source={item.image}
|
||||
alt={`Onboarding Item ${item.id}`}
|
||||
className="w-full h-[300px]"
|
||||
resizeMode="contain"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user