-
Notifications
You must be signed in to change notification settings - Fork 305
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
Ability to customize SignUp component (Add a checkbox) #4948
Comments
Update on this, I managed to get this kinda working. I also realized I wasn't passing {...props} into the Custom component. The example in the docs doesn't show this, and it would be nice to add this there. Here's the current WIP code: Root _layout.tsx
Custom SignUp component
A couple of questions I have:
I'm still trying to figure out how to use this library effectively, so if there is a better way to do any of this, please let me know! Thanks. |
Thank you for your feature request. We are considering adding this feature to the roadmap for the next version of RN Authenticator. |
On which framework/platform would you like to see this feature implemented?
React Native
Which UI component is this feature-request for?
Authenticator
Please describe your feature-request in detail.
Hi there,
I'm currently using the React Native Authenticator component, and I'm trying to implement a sign up page with a T&C's checkbox, similar to the one described in the Amplify React docs here, but I'm having some trouble with figuring out if this is possible with the React Native package.
I've tried a couple of ways:
When I try to do something like this, the checkbox doesn't show below the form fields. It does show up if I move it outside of the
Authenticator
component. If I remove theAuthenticator
component the Sign Up form fields fail to show up. Am I doing something wrong? Or is this not currently possible with the React Native package?Example code for the custom SignUp component:
Passed into the Authenticator component, in my root _layout file.
The fields array doesn't support a
type
ofcheckbox
so I'm not sure if this way is even feasible.Does anyone have any thoughts on how I would achieve this?
Thanks!
Please describe a solution you'd like.
We love contributors! Is this something you'd be interested in working on?
The text was updated successfully, but these errors were encountered: