Created
April 7, 2018 15:35
-
-
Save EdsonAlcala/75f92b9ed11efad2ec102ec89c60ce87 to your computer and use it in GitHub Desktop.
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
| import React from 'react'; | |
| import { Button } from 'semantic-ui-react'; | |
| class Login extends React.Component { | |
| loginClicked = ()=>{ | |
| console.log("Event clicked"); | |
| } | |
| render() { | |
| return ( | |
| <div> | |
| <Button onClick={this.loginClicked} positive>Login</Button> | |
| </div> | |
| ) | |
| } | |
| } | |
| export default Login; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment