Skip to content

Instantly share code, notes, and snippets.

@huhn511 huhn511/App.js
Created Jun 30, 2018

Embed
What would you like to do?
import React, { Component } from 'react';
import logo from './logo.svg';
import './App.css';
class App extends Component {
send() {
console.log("Send!");
}
render() {
return (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<h1 className="App-title">Welcome to React</h1>
</header>
<button onClick={this.send}>Send Transaction</button>
</div>
);
}
}
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.