It's not importing any components
See original GitHub issueI am using React and React DOM versions 15.4.2.
When I try to import components like this:
import React, { Component, PropTypes } from 'react';
import { Button, Modal, ModalBody, ModalHeader, ModalFooter } from 'mdbreact';
PHPStorm gives me errors saying cannot resolve symbol 'Modal'
When I click on the button to show the modal I get the following error in the console:
I am using "mdbreact": "^4.1.0",
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Cannot import my custom components in Angular
Since you have WidgetsModule imported and InputComponent is exported inside it, there doesn't seem to be a reason why this wouldn't work. One ......
Read more >Import a component from an Angular library fails. #1533 - GitHub
I am running the latest version; I checked the documentation and found no answer; I checked to make sure that this issue has...
Read more >Dynamically Importing Components with React.lazy
Not all static imports are immediately needed, and unnecessary imports can be costly. With React.lazy, you can dynamically import components ...
Read more >Auto Import Components In Svelte Kit - Weekly Svelte - YouTube
Your browser can't play this video. Learn more. Switch camera.
Read more >import - JavaScript - MDN Web Docs - Mozilla
The imported bindings are called live bindings because they are updated ... There is also a function-like dynamic import() , which does not...
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
Hi guys, thanks for the feedback. The above mentioned solution seems to be effective only for React 16 and higher, so please update your dependencies if it’s possible. As of now there’s no task assigned for curating this backward-compatibility issue.
I assume that this issue can be closed.