The props for the component.
A button to go back to the previous step of the sign-in flow.
Optionalstep?: "credentials" | "verification"If set, will render the back button for this step of the sign in flow, regardless of the context value.
Optionalsize?: ButtonSizeThe size of the button.
Optionalvariant?: ButtonVariantThe variant of the button.
The sign-in back button.
function App() {
// Customize the back button icon and label
return (
<CDPReactProvider config={config} theme={themeOverrides}>
<SignIn>
<SignInBackButton aria-label="go back">
<MyCustomIcon />
</SignInBackButton>
<SignInImage />
<SignInTitle />
<SignInDescription />
<SignInForm />
<SignInFooter />
</SignIn>
</CDPReactProvider>
);
}
A button to go back to the previous step of the sign-in flow.