Panel.Body is undefined when imported · Issue #3191 - GitHub
文章推薦指數: 80 %
The code sand box project is a create react app one. Using import Panel from 'react-bootstrap' Panel.Body is undefined. Skiptocontent {{message}} react-bootstrap / react-bootstrap Public Notifications Fork 3.3k Star 20.5k Code Issues 133 Pullrequests 30 Actions Projects 1 Wiki Security Insights More Code Issues Pullrequests Actions Projects Wiki Security Insights Newissue Haveaquestionaboutthisproject?SignupforafreeGitHubaccounttoopenanissueandcontactitsmaintainersandthecommunity. Pickausername EmailAddress Password SignupforGitHub Byclicking“SignupforGitHub”,youagreetoourtermsofserviceand privacystatement.We’lloccasionallysendyouaccountrelatedemails. AlreadyonGitHub? Signin toyouraccount Jumptobottom Panel.Bodyisundefinedwhenimported #3191 Closed rluitenopenedthisissue Jul6,2018 ·2comments Closed Panel.Bodyisundefinedwhenimported #3191 rluitenopenedthisissue Jul6,2018 ·2comments Comments Copylink Contributor rluiten commented Jul6,2018 Thecodesandboxprojectisacreatereactappone. UsingimportPanelfrom'react-bootstrap'Panel.Bodyisundefined. UsingimportPanelfrom'react-bootstrap/lib/Panel'Panel.Bodyisdefined. Using. "react":"16.4.1", "react-bootstrap":"0.32.1", "react-dom":"16.4.1", "react-scripts":"1.1.4" Examplehttps://codesandbox.io/s/7jzw1xyy66 Ididseeapreviousissuesforthis,butitwasclosedasbeingaversionproblem,thisisthelatestreact-bootstrap.Screenshotofcodesandbox,andthestacktraceattached. TypeError Cannotreadproperty'Body'ofundefined App /src/index.js:15:11 12|
延伸文章資訊
- 1Panel.Body is undefined when imported · Issue #3191 - GitHub
The code sand box project is a create react app one. Using import Panel from 'react-bootstrap' Pa...
- 2Use Bootstrap Accordion with React | Pluralsight
React-Bootstrap contains various bootstrap components that can be plugged and played for a React ...
- 3React-Bootstrap Accordion Component - GeeksforGeeks
React-Bootstrap is a front-end framework that was designed keeping react in mind. Accordion Compo...
- 4React Bootstrap Accordion with Customized Style and Active ...
Adding Bootstrap Accordion in ReactJs App ... The Bootstrap Accordion is created by adding the Ac...
- 5Accordion Item #2 - React-Bootstrap
Build vertically collapsing accordions in combination with the Collapse component. Examples#. Cli...