how to use bootstrap as module in react code example
Example 1: react import bootstrap css
{/* The following line can be included in your src/index.js or App.js file*/}
import 'bootstrap/dist/css/bootstrap.min.css';
Example 2: install bootstrap in react
//Install
npm install bootstrap popper jquery
//Import
import 'bootstrap/dist/css/bootstrap.css'
import 'bootstrap/dist/js/bootstrap.bundle'