using bootstrap with react
npm install react-bootstrap@next [email protected]
using bootstrap with react
npm install react-bootstrap@next [email protected]
react-bootstrap example
react-bootstrap example
---------------------------
> npm install react-bootstrap [email protected]
> App.css
@import "bootstrap/dist/css/bootstrap.css";
> App.js
import './App.css';
import { Button, Row, Col } from 'react-bootstrap';
function App() {
return (
<div className="App">
<Row className="mx-0">
<Button as={Col} variant="primary">Button #1</Button>
<Button as={Col} variant="secondary" className="mx-2">Button #2</Button>
<Button as={Col} variant="success">Button #3</Button>
</Row>
</div>
);
}
export default App;
src - https://react-bootstrap.netlify.app/getting-started/introduction/
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us