react-native-svg-example
react-native-svg-example copied to clipboard
Not able to see icons
Error - ERROR 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 defined in, or you might have mixed up default and named imports.
Check the render method of SvgComponent
.
This error is located at: in SvgComponent (at App.js:13) in App (at renderApplication.js:47) in RCTView (at View.js:34) in View (at AppContainer.js:107) in RCTView (at View.js:34) in View (at AppContainer.js:134) in AppContainer (at renderApplication.js:40)
LOG Running "XXXXX" with {"rootTag":41} WARN Require cycle: src\assets\svg\avatari.svg -> src\assets\svg\index.js -> src\assets\svg\avatari.svg
Same issue
Try closing your terminal sessions, restart the project so as to restart the metro.
I have the same problem unfortunately.