react-bootstrap example
---------------------------
> npm install react-bootstrap bootstrap@5.1.3
> 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/