0

Why is the navbar not getting rendered using react-bootstrap ?

I imported react-bootstrap and used the below code but the content is not rendering as it shoud be , rather it is just showing the links .................... <Navbar collapseOnSelect expand="lg" bg="dark" variant="dark"> <Navbar.Brand href="#home">React-Bootstrap</Navbar.Brand> <Navbar.Toggle aria-controls="responsive-navbar-nav" /> <Navbar.Collapse id="responsive-navbar-nav"> <Nav className="mr-auto"> <Nav.Link href="#features">Features</Nav.Link> <Nav.Link href="#pricing">Pricing</Nav.Link> <NavDropdown title="Dropdown" id="collasible-nav-dropdown"> <NavDropdown.Item href="#action/3.1">Action</NavDropdown.Item> <NavDropdown.Item href="#action/3.2">Another action</NavDropdown.Item> <NavDropdown.Item href="#action/3.3">Something</NavDropdown.Item> <NavDropdown.Divider /> <NavDropdown.Item href="#action/3.4">Separated link</NavDropdown.Item> </NavDropdown> </Nav> <Nav> <Nav.Link href="#deets">More deets</Nav.Link> <Nav.Link eventKey={2} href="#memes"> Dank memes </Nav.Link> </Nav> </Navbar.Collapse> </Navbar>

9th Jan 2021, 7:53 PM
Shubhank Kulshreshtha
Shubhank Kulshreshtha - avatar
3 Réponses
0
Instead of posting the text can you post your code bit?
10th Jan 2021, 5:44 AM
Chris Coder
Chris Coder - avatar
0
Chris C. Bro i posted the code only 😅
10th Jan 2021, 2:32 PM
Shubhank Kulshreshtha
Shubhank Kulshreshtha - avatar