question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can not import Popover from 'carbon-components-react' '

See original GitHub issue

I had to manually add this code to the node_modules/carbon-components-react/es/index.js

Zrzut ekranu 2021-05-6 o 18 43 47

It was due to following error when import:

import {Popover, PopoverContent} from 'carbon-components-react'

Zrzut ekranu 2021-05-6 o 18 47 14

Can I request for adding {Popover, PopoverContent} to the export path?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
RadekKpccommented, May 7, 2021

@joshblack Ok, thank you for the quick replies 😃 Good luck!

1reaction
joshblackcommented, May 6, 2021

@RadekKpc unfortunately not since the work is not finished 😞 Sorry about that! We’re actively working on this component along with a couple others so definitely be on the lookout for them in the near future 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Popover - Carbon Components React
Popover is a primitive component used to build custom components which render ... import { Popover, PopoverContent } from '@carbon/react'; import React from ......
Read more >
Unable to render Reactjs-boostrap popover - Stack Overflow
And I am trying to add a popover using an example provided here example. This is the exact code: import React from 'react';...
Read more >
13 React DatePickers and TimePickers for 2020
react-datepicker is one of the most popular components around the web. ... Date pickers use a dialog window or an inline popover to...
Read more >
How to Use React-Bootstrap's Popover - Pluralsight
After installing the package, the next step is to add bootstrap CSS into the root component because reactstrap does not have its CSS ......
Read more >
carbon-addons-iot-react | Yarn - Package Manager
... scroll to added cards (376f782); rulebuilder: remove error from not importing component (a1c84d1); use-popover-positioning: initial commit (a6f37cd) ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found