mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
4bd30c8713
* Example: Form handler with Redux and React-bootstrap * inputChange refactoring * Destructuring inputChange
18 lines
385 B
JavaScript
18 lines
385 B
JavaScript
import { Col, Row, Jumbotron } from 'react-bootstrap'
|
|
|
|
const Header = () => {
|
|
return (
|
|
<div>
|
|
<Row style={{ marginTop: '10px' }}>
|
|
<Col lg={8} lgOffset={2}>
|
|
<Jumbotron style={{ borderRadius: '15px' }}>
|
|
<h1 style={{textAlign: 'center'}}>Form Handler</h1>
|
|
</Jumbotron>
|
|
</Col>
|
|
</Row>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default Header
|