Skip to content

Instantly share code, notes, and snippets.

@kylegalbraith
Created November 19, 2018 21:29
Show Gist options
  • Save kylegalbraith/91de19a330ac2970d7ac3a613bce009e to your computer and use it in GitHub Desktop.
Save kylegalbraith/91de19a330ac2970d7ac3a613bce009e to your computer and use it in GitHub Desktop.
import React from "react";
import {
ForgotPassword,
RequireNewPassword,
SignIn,
SignUp,
VerifyContact
} from "aws-amplify-react";
import config from "../../aws-exports";
import { Authenticator, Greetings } from "aws-amplify-react/dist/Auth";
class App extends React.Component {
constructor(props, context) {
super(props, context);
}
render() {
return (
<Authenticator
hide={
[
Greetings,
VerifyContact,
ForgotPassword
]
}
amplifyConfig={config}
>
</Authenticator>
);
}
}
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment