svgr
Public

Transform SVGs into React components ๐Ÿฆ

error with inline SVG in NextJS#984

Closed
Opened 12/21/20242 commentsby qifei
qifei

<!-- Love SVGR? Please consider supporting our collective: ๐Ÿ‘‰ https://opencollective.com/svgr/donate --> ## ๐Ÿ› Bug Report > Server Error > Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. ## To Reproduce Newly created NextJS project import Star from "./star.svg" const Example = () => ( <div> <Star /> </div> )

AI Analysis

This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by qifei and has received 2 comments.

Add a comment
Comment form would go here