Learn how to include React Bootstrap in your project
\n{`The best way to consume React-Bootstrap is via the npm package which\nyou can install with `}
{`If you plan on customizing the Bootstrap Sass files, or don't want\nto use a CDN for the stylesheet, it may be helpful to\ninstall `}
{`npm install react-bootstrap bootstrap\n`}
\n {`Because React-Bootstrap doesn't depend on a very precise version of\nBootstrap, we don't ship with any included css. However, some\nstylesheet `}{`is required`}{` to use these components. `}
\n{`{/* The following line can be included in your src/index.js or App.js file*/}\n\nimport 'bootstrap/dist/css/bootstrap.min.css';\n`}
\n {`How and which Bootstrap styles you include is up to you, but the\nsimplest way is to include the latest styles from the CDN. A little\nmore information about the benefits of using a CDN can be found\n`}{`here`}{`.`}
\n{`For more advanced use cases you can also use a bundler like Webpack\nor Browserify to include the CSS files for you as part of your build\nprocess but that is beyond the scope of this guide. Also see\n`}{`the Bootstrap docs`}{`\nfor details about customizing stylesheets to match your component\nuse.`}
\n{`You should import individual components like:\n`}
{`import Button from 'react-bootstrap/Button';\n\n// or less ideally\nimport { Button } from 'react-bootstrap';\n`}
\n {`We provide `}
{`React-Bootstrap has started a repo with a few basic CodeSandbox examples.\n`}{`Click here`}{`\nto check them out.`}
\n{`React-Bootstrap is compatible with existing Bootstrap themes. Just\nfollow the installation instructions for your theme of choice.`}
\n{`If you would like to add a custom theme on your app using Create React\nApp, they have additional documentation for Create React App and\nBootstrap\n`}{`here`}
\n{`We aim to support all browsers supported by both\n`}{`React`}{`\nand `}