|
@@ -1,6 +1,7 @@
|
|
|
import React, { useState } from "react";
|
|
import React, { useState } from "react";
|
|
|
import { Text } from "react-native";
|
|
import { Text } from "react-native";
|
|
|
import PhoneInput from "../../../component/global/phone_input";
|
|
import PhoneInput from "../../../component/global/phone_input";
|
|
|
|
|
+
|
|
|
export default function Index() {
|
|
export default function Index() {
|
|
|
/**********************************狀態管理**********************************/
|
|
/**********************************狀態管理**********************************/
|
|
|
/**********************************狀態管理**********************************/
|
|
/**********************************狀態管理**********************************/
|
|
@@ -17,12 +18,7 @@ export default function Index() {
|
|
|
return (
|
|
return (
|
|
|
////testing component here
|
|
////testing component here
|
|
|
<>
|
|
<>
|
|
|
- <PhoneInput
|
|
|
|
|
- placeholder="電話號碼"
|
|
|
|
|
- onChangeText={(newText) => console.log(newText)}
|
|
|
|
|
- onValidationStatusChange={handleValidationStatus}
|
|
|
|
|
- />
|
|
|
|
|
- {console.log(inputValidationStatus)}
|
|
|
|
|
|
|
+ <p>Test Here</p>
|
|
|
</>
|
|
</>
|
|
|
);
|
|
);
|
|
|
}
|
|
}
|