upd: tampilan login dan verifikasi
Deskripsi: - color text No Issues
This commit is contained in:
@@ -2,10 +2,11 @@ import Styles from "@/constants/Styles"
|
|||||||
import { apiCheckPhoneLogin, apiSendOtp } from "@/lib/api"
|
import { apiCheckPhoneLogin, apiSendOtp } from "@/lib/api"
|
||||||
import AsyncStorage from "@react-native-async-storage/async-storage"
|
import AsyncStorage from "@react-native-async-storage/async-storage"
|
||||||
import { useState } from "react"
|
import { useState } from "react"
|
||||||
import { Image, SafeAreaView, Text, ToastAndroid, View } from "react-native"
|
import { Image, SafeAreaView, ToastAndroid, View } from "react-native"
|
||||||
import { ButtonForm } from "../buttonForm"
|
import { ButtonForm } from "../buttonForm"
|
||||||
import { InputForm } from "../inputForm"
|
import { InputForm } from "../inputForm"
|
||||||
import ModalLoading from "../modalLoading"
|
import ModalLoading from "../modalLoading"
|
||||||
|
import Text from "../Text"
|
||||||
|
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
|
|||||||
@@ -3,9 +3,10 @@ import { apiSendOtp } from "@/lib/api";
|
|||||||
import { useAuthSession } from "@/providers/AuthProvider";
|
import { useAuthSession } from "@/providers/AuthProvider";
|
||||||
import AsyncStorage from "@react-native-async-storage/async-storage";
|
import AsyncStorage from "@react-native-async-storage/async-storage";
|
||||||
import { useState } from "react";
|
import { useState } from "react";
|
||||||
import { Image, Text, ToastAndroid, View } from "react-native";
|
import { Image, ToastAndroid, View } from "react-native";
|
||||||
import { OtpInput } from "react-native-otp-entry";
|
import { OtpInput } from "react-native-otp-entry";
|
||||||
import { ButtonForm } from "../buttonForm";
|
import { ButtonForm } from "../buttonForm";
|
||||||
|
import Text from "../Text";
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
phone: string
|
phone: string
|
||||||
@@ -77,6 +78,7 @@ export default function ViewVerification({ phone, otp }: Props) {
|
|||||||
alignSelf: 'center'
|
alignSelf: 'center'
|
||||||
},
|
},
|
||||||
pinCodeContainerStyle: Styles.verificationCell,
|
pinCodeContainerStyle: Styles.verificationCell,
|
||||||
|
pinCodeTextStyle: { color: 'black' }
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<ButtonForm
|
<ButtonForm
|
||||||
|
|||||||
Reference in New Issue
Block a user