import { withAuthenticator, AmplifySignOut } from '@aws-amplify/ui-react'; import { Authenticator, SignIn, SignUp } from 'aws-amplify-react';
const App = () => { return (
const SignUpWrapper = withAuthenticator(SignUp);
const myTheme = { // Customize SignUp component styles signUpFields: { backgroundColor: 'white', borderRadius: '5px', boxShadow: '0px 1px 3px rgba(0, 0, 0, .3)', padding: '20px', width: '400px', margin: 'auto' } };
const App = () => { return (
import Amplify from 'aws-amplify'; import awsconfig from './aws-exports'; import { withAuthenticator } from '@aws-amplify/ui-react'; import '@aws-amplify/ui-react/styles.css';
Amplify.configure(awsconfig);
function App() { return (
export default withAuthenticator(App);