Last active
December 31, 2019 15:14
-
-
Save ManotLuijiu/5d7c6c3d6ea93535872667688cc9f7f0 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
<> | |
<div className="App"> | |
<Container> | |
<Header /> | |
</Container> | |
</div> | |
<Jumbotron> | |
<Container> | |
<Row className="justify-content-center"> | |
<Col md={6}> | |
<div className="alert alert-primary"> | |
<h2 className="text-center mb-5"> | |
อายุ: <span>{age}</span> | |
</h2> | |
<ButtonToolbar className="justify-content-center mb-2"> | |
<Button className="mr-5" onClick={this.handleAgeUp}> | |
เพิ่มอายุ | |
</Button> | |
<br /> | |
<Button onClick={this.handleAgeDown}>ลดอายุ</Button> | |
</ButtonToolbar> | |
</div> | |
</Col> | |
</Row> | |
</Container> | |
</Jumbotron> | |
<Footer /> | |
</> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment