Skip to content

Instantly share code, notes, and snippets.

@harshaktg
Created June 19, 2021 18:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save harshaktg/2d311a8ed3a1b40bc55bac5245d484f7 to your computer and use it in GitHub Desktop.
Save harshaktg/2d311a8ed3a1b40bc55bac5245d484f7 to your computer and use it in GitHub Desktop.
AWS Amplify Home page
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