Modal not showing up in react with react-bootstrap
问题 I am trying to create a modal to have a login/register pop-up when clicking on the NavBar.Item Login/Register. My modal is defined as below: import React from "react"; import '../assets/styles/GenericTheme.css' import { Modal } from "react-bootstrap"; class LoginRegisterModal extends React.Component { constructor(props, context) { super(props); this.state = {show: false}; } open = () => { this.setState({show: true}); } close = () => { this.setState({show: false}); } render() { return ( //