project setup
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
import { TouchableOpacity, Text } from "react-native";
|
||||
|
||||
interface ForgotPasswordLinkProps {
|
||||
onPress: () => void;
|
||||
isResetting: boolean;
|
||||
disabled: boolean;
|
||||
}
|
||||
|
||||
export const ForgotPasswordLink = ({
|
||||
onPress,
|
||||
isResetting,
|
||||
disabled,
|
||||
}: ForgotPasswordLinkProps) => {
|
||||
return (
|
||||
<TouchableOpacity
|
||||
className="items-center mt-4"
|
||||
onPress={onPress}
|
||||
disabled={disabled || isResetting}
|
||||
>
|
||||
<Text className="text-primaryPurple">
|
||||
{isResetting ? "Sending reset email..." : "Forgot Password?"}
|
||||
</Text>
|
||||
</TouchableOpacity>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user