Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(@aws-amplify/ui-components): amplify-verify-contact (#4583)
* Fix bug where JSX string attributes aren't picked up by stencil * Rename to verifyContact to match <VerifyContact> * Add <VerifyContact /> stories * Initial amplify-verify-contact + stories * Add unverified to CognitoUserInterface * Update <amplify-verify-contact> to work with <amplify-authenticator> * Throw an error if the AuthState is unsupported * Move greetings to renderAuthComponent * Add story snapshots * build * Convert text to constants * build * Remove unused errorMessage(err) function * Use NO_AUTH_MODULE_FOUND for error messaging * Update packages/amplify-ui-components/src/components/amplify-verify-contact/amplify-verify-contact.tsx Co-Authored-By: Sam Martinez <sammartinez19@gmail.com> * Update packages/amplify-ui-components/src/components/amplify-verify-contact/amplify-verify-contact.tsx Co-Authored-By: Sam Martinez <sammartinez19@gmail.com> * Update to async/await * Remove VerifyContact react story * Correct type annotation to use CognitoUserInterface.unverified * Use AmplifyVerifyContact for logger * Put render at the bottom * Update amplify-authenticator snapshot with amplify-greetings being conditional Co-authored-by: Sam Martinez <sammartinez19@gmail.com>
- Loading branch information