react bootstrap button onclick show modal code example Example: import modal bootstrap react import {Modal} from 'react-bootstrap/modal'