Created
September 30, 2019 12:03
-
-
Save renanpaiva64/d276fb4e0ad17d100a57fa6ca6fd04e6 to your computer and use it in GitHub Desktop.
UsuarioConsumer
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
| <UsuarioConsumer> | |
| {({doLogin}) => ( | |
| <Button | |
| onClick = {doLogin(this.state.usuario, this.state.senha, "/condominio")} | |
| to="/condominio" | |
| className="btn btn-primary btn-block btn-lg round" | |
| as={Link}> | |
| Login | |
| </Button> | |
| )} | |
| </UsuarioConsumer> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment