Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional Sign Up Fileds #2

Open
gtictunit opened this issue Apr 10, 2022 · 0 comments
Open

Additional Sign Up Fileds #2

gtictunit opened this issue Apr 10, 2022 · 0 comments

Comments

@gtictunit
Copy link

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch react-native-dark-login-screen@0.1.1 for the project I'm working on.

I add a few more fields for the sign up page to include separate username from the email field instead of setting email as username. I am still working on an edit to create a function to enable developers create fields on the fly

Here is the diff that solved my problem:

diff --git a/node_modules/react-native-dark-login-screen/lib/DarkLoginScreen.tsx b/node_modules/react-native-dark-login-screen/lib/DarkLoginScreen.tsx
index 4557970..72378fe 100644
--- a/node_modules/react-native-dark-login-screen/lib/DarkLoginScreen.tsx
+++ b/node_modules/react-native-dark-login-screen/lib/DarkLoginScreen.tsx
@@ -45,7 +45,7 @@ interface DarkLoginScreenProps {
   handleFacebookLogIn?: () => void;
   handleForgotPassword?: () => void;
   fullNameOnChange?: (fullName: string) => void;
-  singUpPasswordChangeText?: (password: string) => void;
+  signUpPasswordChangeText?: (password: string) => void;
   emailOnChange?: (email: string) => void;
   handleSignUp?: () => void;
   handleSignUpButton?: () => void;
diff --git a/node_modules/react-native-dark-login-screen/lib/screens/sign-up/SignUpScreen.tsx b/node_modules/react-native-dark-login-screen/lib/screens/sign-up/SignUpScreen.tsx
index 33c8f9e..fa5fa18 100644
--- a/node_modules/react-native-dark-l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant