Snippet

React Bootstrap natif

3 réponses de la communauté

{/* The following line can be included in your src/index.js or App.js file*/}

import 'bootstrap/dist/css/bootstrap.min.css';
npm install react-bootstrap bootstrap
import Button from 'react-bootstrap/Button';

// or less ideally
import { Button } from 'react-bootstrap';