I have created an SPFx project with reactJS. I am using .jsx extension - functional components.
Now, the spfx webpart is already working fine, but I saw a material kit that I want to reuse its components.
When I referenced the components, I am presented with this error
[SPLoaderError.loadComponentError]: ***Failed to load component (WebPart). Original error: ***Failed to load entry point from component WebPart). Original error: Module parse failed: Unexpected token (30:4) File was processed with these loaders: ./node_modules/source-map-loader/index.js You may need an additional loader to handle the result of these loaders.
It seems that I cannot use the "footer" tag?
Here's the 3rd screenshot, I created a .js component that I tried to insert in my WebPart.tsx but still the same error.