I want to hide the Submit Button in Amplify Default UI, but not sure how to achieve it. Didn't observe any documentation at Amplify.
Here is my code:
function App() {
return (
<AmplifyAuthenticator>
<AmplifyFormSection slot="sign-in">
<AmplifyOauthButton />
</AmplifyFormSection>
<div className="App">
<Users></Users>
</div>
</AmplifyAuthenticator>
);
}
Screenshot:
CodePudding user response:
You can place the AmplifyOauthButton
as the slot, just like below:
function App() {
return (
<AmplifyAuthenticator>
<AmplifyOauthButton slot="sign-in" />
</AmplifyAuthenticator>
);
}