import React from 'react';
import { Button, StyleSheet, Text, View } from 'react-native';
import { Amplify } from 'aws-amplify';
import { Authenticator, useAuthenticator } from '@aws-amplify/ui-react-native';
import awsconfig from './aws-exports';
Amplify.configure(awsconfig);
const MySignInFooter = () => My Footer;
function SignOutButton() {
const { signOut } = useAuthenticator();
return ;
}
function App() {
return (
(
// will render only on the SignIn subcomponent
),
}}
>
);
}
const style = StyleSheet.create({
container: { flex: 1, alignItems: 'center', justifyContent: 'center' },
});
export default App;