Navbar taken from bootstrap is not collapsing

i am creating a react app and used the bootstrap navbar but the navbar is not collapsing in mobile view and this looks annoying. <nav className="navbar fixed-top navbar-expand-lg navbar-dark bg-dark navbar-collapse"> <div className="container-fluid"> <Link className="navbar-brand" to="/">NewsMonkey</Link> <button className="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> <span className="navbar-toggler-icon"></span> </button> <div className="collapse navbar-collapse" id="navbarSupportedContent"> <ul className="navbar-nav me-auto… Read More Navbar taken from bootstrap is not collapsing