open modal on react code example Example: import modal bootstrap react import {Modal} from 'react-bootstrap/modal'