Skip to content

Instantly share code, notes, and snippets.

@EdsonAlcala
Created April 7, 2018 15:35
Show Gist options
  • Select an option

  • Save EdsonAlcala/75f92b9ed11efad2ec102ec89c60ce87 to your computer and use it in GitHub Desktop.

Select an option

Save EdsonAlcala/75f92b9ed11efad2ec102ec89c60ce87 to your computer and use it in GitHub Desktop.
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