Created
April 17, 2020 04:24
-
-
Save mikehibm/726f0f97ba2803641481d31150aefd15 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 React from 'react'; | |
import Amplify from 'aws-amplify'; | |
import { AmplifyAuthenticator, AmplifySignOut } from '@aws-amplify/ui-react'; | |
import awsconfig from '../aws-exports'; | |
import { MyLayout } from '../components/MyLayout'; | |
Amplify.configure(awsconfig); | |
const contentStyle = { | |
paddingLeft: '0', | |
paddingRight: '0', | |
textAlign: 'center', | |
}; | |
export default () => ( | |
<MyLayout contentStyle={contentStyle}> | |
<AmplifyAuthenticator> | |
<h2>ログインしました!</h2> | |
<AmplifySignOut /> | |
</AmplifyAuthenticator> | |
</MyLayout> | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment