介绍
众所周知,Bootstrap是非常受欢迎的前端库,因为其美观的UI以及使用方式的简单而深受广大的前端爱好者的喜爱,但近年来各类前端框架大行其道,要想将Bootstrap尤其是其组件部分很优雅的使用到这些框架不一定很方便,在之前的文章中已经介绍过Vue的实现版本,本文就介绍以下React的版本——Reactstrap
![68cd605cac9ec423665c8a1920d02923.png](https://i-blog.csdnimg.cn/blog_migrate/45ab0535dde6d57abc194dd605b161ee.jpeg)
Github
https://reactstrap.github.io/
https://github.com/reactstrap/reactstrap
![8395461e712ede46228ede25d9ef5372.png](https://i-blog.csdnimg.cn/blog_migrate/2951b075d33f32235bdba3e737d2e798.jpeg)
快速开始
1、安装使用
通过NPM安装reactstrap和对等依赖项
npm install --save reactstrap react react-dom
2、然后导入你需要的组件
import React from 'react';import