amplify-ui
amplify-ui copied to clipboard
Subtitle for AmplifyTotpSetup
Is your feature request related to a problem? Please describe. I noticed there is a way to add subtitles to the SignIn and SignUp screens using header-subtitle slot. But which is missing in the AmplifyTotpSetup component. Is there a way to include subtitle with the current version, according to docs I can't find any.
Describe the solution you'd like
I would like the solution similar to the existing screens which looks like,
Describe alternatives you've considered
Additional context

@udeeshaIS as a possible work around right now, overwrite the headerText and then add in your own header and subtitle text.
To resolve this issue against @next, we should ensure all screens have a Header/Footer slot (outside the form) just like Sign In & Sign Up.
Hi @udeeshaIS You can achieve the addition of a subtitle on the SetupTOTP route by passing a using Header component. Documentation can be found here