Skip to content

Instantly share code, notes, and snippets.

@DiegoPinho
Last active June 18, 2018 16:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DiegoPinho/217f4d27852a7d3d530581020fc87f01 to your computer and use it in GitHub Desktop.
Save DiegoPinho/217f4d27852a7d3d530581020fc87f01 to your computer and use it in GitHub Desktop.
react-bootstrap.js
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