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