App.js 686 Bytes
Newer Older
Jiwon Yoon's avatar
Jiwon Yoon committed
1
2
import logo from './logo.svg';
import './App.css';
Jiwon Yoon's avatar
Jiwon Yoon committed
3
import { Button } from 'react-bootstrap';
Jiwon Yoon's avatar
Jiwon Yoon committed
4
5

function App() {
Jiwon Yoon's avatar
Jiwon Yoon committed
6
7
8
  function funcs(){
    alert("hi")
  }
Jiwon Yoon's avatar
Jiwon Yoon committed
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  return (
    <div className="App">
      <header className="App-header">
        <img src={logo} className="App-logo" alt="logo" />
        <p>
          Edit <code>src/App.js</code> and save to reload.
        </p>
        <a
          className="App-link"
          href="https://reactjs.org"
          target="_blank"
          rel="noopener noreferrer"
        >
          Learn React
        </a>
Jiwon Yoon's avatar
Jiwon Yoon committed
24
        <Button onClick={funcs}>이름</Button>
Jiwon Yoon's avatar
Jiwon Yoon committed
25
      </header>
Jiwon Yoon's avatar
Jiwon Yoon committed
26
27
28
      <body>

      </body>
Jiwon Yoon's avatar
Jiwon Yoon committed
29
30
31
32
33
    </div>
  );
}

export default App;