Hello ! I'm using embeded form in React, do you k...
# support-questions
b
Hello ! I'm using embeded form in React, do you know if I can pass custom props that I can get in my Overrides ?
r
hey @Binouse
yea the embedded components should accept a
userContext
prop which would then be available in the function overrides.
b
Thanks for your answer, but I meant "in my components Overrides"
r
oh right. I see.
give me a min
And you can import that hook using:
Copy code
import {useUserContext} from "supertokens-auth-react";
b
Thank you 🙏
r
Lmk if this doesn't work or if you run into other issues 🙂
b
Is there a way to override or at least edit the "CONTINUE" button from the passwordless email form ? I'm sure there is a way but I can't find it 😕
r
Do you want to change the text? Or the theme?
for text, checkout translation section -> you can change the button copy For theme, checkout styling section
b
I managed to override everything from the ThirdPartyProvidersForm thanks to the
buttonComponent
prop. Is there something similar for the
PasswordlessEmailForm_Override
?
Oh okay that should be perfect
Thanks again 🙂
r
ok great! so did that resolve your issues?
b
Yes translation should be fine
r
nice
2 Views