amplify-ui icon indicating copy to clipboard operation
amplify-ui copied to clipboard

Subtitle for AmplifyTotpSetup

Open udeeshaIS opened this issue 4 years ago • 2 comments

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,

Header subtitle content

Describe alternatives you've considered

Additional context image

udeeshaIS avatar Nov 13 '20 11:11 udeeshaIS

@udeeshaIS as a possible work around right now, overwrite the headerText and then add in your own header and subtitle text.

ErikCH avatar May 20 '21 17:05 ErikCH

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.

ericclemmons avatar Nov 16 '21 21:11 ericclemmons

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

calebpollman avatar Dec 15 '22 20:12 calebpollman