'reactstrap' does not contain an export named 'CardBody'
See original GitHub issueIssue description
- components:
card
- reactstrap version
#5.0.0-beta-4
- import method
umd/csj/es
(if umd, are you using the “full” version (only for v5+)?) - react version
#16.2.0
- bootstrap version
#4.0.0
What is happening?
getting error on compiling the create-react-app ‘reactstrap’ does not contain an export named ‘CardBody’
What should be happening?
Should not receive error
Steps to reproduce issue
- …
- …
Error message in console
paste error message with stacktrack here
Code
Issue Analytics
- State:
- Created 6 years ago
- Comments:14 (8 by maintainers)
Top Results From Across the Web
'react-bootstrap' does not contain an export named 'Card'
From react-bootstrap version 1.0.0-beta.x: The correct import statement for Card is import Card from "react-bootstrap/Card";.
Read more >react-bootstrap' does not contain an export named 'Card'
Coding example for the question 'react-bootstrap' does not contain an export named 'Card'-Reactjs.
Read more >Cards - React-Bootstrap Documentation
Bootstrap's cards provide a flexible and extensible content container with multiple variants and ... return <Card body>This is some text within a card...
Read more >reactstrap - npm
This library contains React Bootstrap components that favor composition and control. The library does not depend on jQuery or Bootstrap ...
Read more >Using Bootstrap with React: Tutorial with examples
This has coincided with the emergence of CSS frameworks designed to help developers ... How to troubleshoot Bootstrap not working in React.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@ehlilier make sure you are exporting and importing them correctly
The carousel imports are separate. CarouselItem, not Carousel.Item (same for the others). I do like that syntax though, makes it easier to import since you will most likely be importing all of those things at the same time anyways.