Created
February 28, 2018 11:28
-
-
Save rohanBagchi/be1e45715e8ad9464803bd022928d798 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
| import React, { Component } from 'react'; | |
| import PropTypes from 'prop-types'; | |
| class App extends Component { | |
| render() { | |
| return ( | |
| <div className="container"> | |
| <div className="row"> | |
| <div className="col-md-12"> | |
| {this.props.message} | |
| </div> | |
| </div> | |
| </div> | |
| ); | |
| } | |
| } | |
| App.propTypes = { | |
| message: PropTypes.string.isRequired, | |
| }; | |
| export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment