rp
06/30/2021, 9:16 AMThirdPartyEmailPassword.init({
signInAndUpFeature: {
style: {
headerTitle: { display: "none" }
},
...
},
override: {
components: {
ThirdPartyEmailPasswordHeader: (OriginalComponent) => (originalProps) => {
return (
<div>
<h1>text1</h1>
<img src="https://s.ai/logo_full.svg" />
<OriginalComponent {...originalProps} />
</div>
);
}
}
}
}
- You need to override ThirdPartyEmailPasswordHeader
component (which will affect the sign in and sign up pages.
- You need to hide the current title by using headerTitle: { display: "none" }
as seen above.