Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. <UsuarioConsumer>
  2. {({doLogin}) => (
  3. <Button
  4. onClick = {doLogin(this.state.usuario, this.state.senha, "/condominio")}
  5. to="/condominio"
  6. className="btn btn-primary btn-block btn-lg round"
  7. as={Link}>
  8. Login
  9. </Button>
  10. )}
  11. </UsuarioConsumer>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement