We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey guys! I'm having the following error when rendering
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.
This happens only when using
const Steps = require('rc-steps');
Instead of
import Steps from 'rc-steps';
The problem is that, because a limitation at my work, I can't use import. Is there any other workaround to make this module work with require?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hey guys!
I'm having the following error when rendering
This happens only when using
Instead of
The problem is that, because a limitation at my work, I can't use import. Is there any other workaround to make this module work with require?
Thanks in advance!
The text was updated successfully, but these errors were encountered: