-
Notifications
You must be signed in to change notification settings - Fork 316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document how to access and manage authState
#665
Conversation
|
docs/src/pages/components/authenticator/useAuthenticator.react.mdx
Outdated
Show resolved
Hide resolved
...lar/src/pages/ui/components/authenticator/use-authenticator/use-authenticator.component.html
Outdated
Show resolved
Hide resolved
data-amplify-fieldset | ||
[disabled]="authenticator.isPending" | ||
> | ||
<div class="amplify-flex" style="flex-direction: column"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just matching other implementations
This reverts commit 63d09b0.
@@ -0,0 +1,27 @@ | |||
<amplify-authenticator> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here's the Angular useAuthenticator
example that demos "tabless" authenticator. Tabs are hidden through css here:
amplify-ui/examples/angular/src/styles.scss
Lines 15 to 17 in c32ef37
use-authenticator .amplify-tabs { | |
display: none; | |
} |
And what they look like:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ErikCH @ericclemmons Please add matching examples to this PR, thanks! 🙏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moving this to a Headless UI milestone to do after GA, since this is an advanced use-case.
Closing in favor of #1075 |
Issue #, if available: Depends on #637, closes #254, closes #664, related to #640.
Description of changes: Basically documenting how to do https://docs.amplify.aws/ui/auth/authenticator/q/framework/react/#recommended-usage on
@next
. In draft.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.