因此,我尝试在Class组件中呈现这个JSX元素。它本质上是由D3的反应库提供的视觉。但是,当试图将D3呈现为可视时,我会收到此错误:
Unhandled Rejection (Error): Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's d
s3-controller.ts| |__events-service-request.ts我的index.ts定义了以下导出requested module 'qa-data-tool/utils' does not provide an export named 'default'
但出于某种原因,我可以正确地从我的aws文件夹导出模块