using bootstrap 4 in react code example
Example 1: install react bootstrap
# with npm
npm install react-bootstrap bootstrap
#with yarn
yarn add react-bootstrap bootstrap
Example 2: react native bootstrap
import Button from 'react-bootstrap/Button';
// or less ideally
import { Button } from 'react-bootstrap';