Created
June 19, 2021 18:28
-
-
Save harshaktg/2d311a8ed3a1b40bc55bac5245d484f7 to your computer and use it in GitHub Desktop.
AWS Amplify Home page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Amplify from "aws-amplify"; | |
import awsExports from "./aws-exports"; | |
import { AmplifySignOut, withAuthenticator } from "@aws-amplify/ui-react"; | |
Amplify.configure(awsExports); | |
const Home = (props) => { | |
return ( | |
<div> | |
<AmplifySignOut /> | |
<h1>This is your logged in page.</h1> | |
</div> | |
); | |
}; | |
export default withAuthenticator(Home); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment