【发布时间】:2021-01-03 10:59:19
【问题描述】:
我在使用 react-bootstrap 和 styled component 时遇到问题,因为当我需要设置像 "Col" 这样的组件样式时,我会从这样的两个文件中导入它:
import Col from "react-bootstrap";
import Col from "styled-Component";
所以当我使用styled component 时,我不应该使用react-bootstrap??
【问题讨论】:
-
检查this,一定会回答你的问题。下次请先做一个研究。和平
标签: reactjs react-bootstrap styled-components