change close icon react bootstrap modal code example Example: import modal bootstrap react import {Modal} from 'react-bootstrap/modal'