Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <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>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement