Last active
June 18, 2018 16:49
-
-
Save DiegoPinho/217f4d27852a7d3d530581020fc87f01 to your computer and use it in GitHub Desktop.
react-bootstrap.js
This file contains 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
const Jumbotron = ReactBootstrap.Jumbotron; | |
const Button = ReactBootstrap.Button; | |
const App = () => { | |
return ( | |
<Jumbotron> | |
<h1>Olá!</h1> | |
<p> | |
Este é um exemplo do Componente Jumbotron construído com o | |
React-Boostrap! | |
</p> | |
<p> | |
<Button bsStyle="primary">Aprenda mais!</Button> | |
</p> | |
</Jumbotron> | |
); | |
}; | |
ReactDOM.render(<App />, document.getElementById("app")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment