Skip to content

Instantly share code, notes, and snippets.

@ManotLuijiu
Last active December 31, 2019 15:14
Show Gist options
  • Save ManotLuijiu/5d7c6c3d6ea93535872667688cc9f7f0 to your computer and use it in GitHub Desktop.
Save ManotLuijiu/5d7c6c3d6ea93535872667688cc9f7f0 to your computer and use it in GitHub Desktop.
<>
<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