P粉5150665182023-08-26 13:32:20
I don't think the react-bootstrap library itself provides similar functionality. However, you can add an icon to the right alignment of the modal box head and add an onClick action, which can change the open state of the modal box and close it.