diff --git a/client/app/components/auth/SubmitButton.tsx b/client/app/components/auth/SubmitButton.tsx deleted file mode 100644 index 2b613f2d0..000000000 --- a/client/app/components/auth/SubmitButton.tsx +++ /dev/null @@ -1,32 +0,0 @@ -import React from "react"; -import { StyleSheet, Text, TouchableOpacity, Dimensions } from "react-native"; - -import { SubmitButtonProps } from "../../types/Props"; - -const SubmitButton: React.FC = ({ onPress }) => { - return ( - - Submit - - ); -}; - -const styles = StyleSheet.create({ - button: { - backgroundColor: "#5dbea3", - width: Dimensions.get("window").width * 0.5, - height: Dimensions.get("window").height * 0.05, - display: "flex", - justifyContent: "center", - alignItems: "center", - borderRadius: 100, - }, - - button_text: { - color: "white", - fontFamily: "Quicksand-Medium", - fontSize: Dimensions.get("window").height * 0.027, - }, -}); - -export default SubmitButton; \ No newline at end of file diff --git a/client/app/screens/auth/EmailVerificationScreen.tsx b/client/app/screens/auth/EmailVerificationScreen.tsx index bce9de31f..ab5d5f2fc 100644 --- a/client/app/screens/auth/EmailVerificationScreen.tsx +++ b/client/app/screens/auth/EmailVerificationScreen.tsx @@ -9,7 +9,7 @@ import { TextInput, TouchableOpacity, } from "react-native"; -import SubmitButton from "../../components/auth/SubmitButton"; +import LargeTextButton from "../../components/auth/LargeTextButton"; const EmailVerificationScreen = ({ navigation }: any) => { const maxCodeLength = 6; @@ -77,7 +77,7 @@ const EmailVerificationScreen = ({ navigation }: any) => { - + {errorMessage ? (