Skip to content

Instantly share code, notes, and snippets.

@rohanBagchi
Created February 28, 2018 11:28
Show Gist options
  • Select an option

  • Save rohanBagchi/be1e45715e8ad9464803bd022928d798 to your computer and use it in GitHub Desktop.

Select an option

Save rohanBagchi/be1e45715e8ad9464803bd022928d798 to your computer and use it in GitHub Desktop.
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