I'm working on an app using react-bootstrap and I'm looking for guidance on how to utilize the remaining space in the main section, excluding the header and footer. Any suggestions?
import Row from "react-bootstrap/Row";
import Col from "react-bootstrap/Col";
import { Navbar } from "react-bootstrap";
export default function App() {
return (
<Row>
<Col xs={12}>
<Navbar bg="dark" variant="dark">
<Navbar.Brand href="#home" className="bold-text">
NAV
</Navbar.Brand>
</Navbar>
</Col>
<Col xs={12}>
<div
className="mt-4"
style={{
backgroundColor: "#cbcbcb"
}}
>
Main Content
</div>
</Col>
<Col xs={12}>
<Navbar
fixed="bottom"
bg="dark"
variant="dark"
className="justify-content-md-center"
>
<Navbar.Brand href="#home" className="text-center">
Footer
</Navbar.Brand>
</Navbar>
</Col>
</Row>
);
}
View the output here: https://codesandbox.io/embed/affectionate-noether-hkk6z?fontsize=14&hidenavigation=1&theme=dark
Thank you in advance!