You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting an error that is driving me nuts. Have tried searching for an answer elsewhere, and have not seen this issue anywhere. I'm probably doing something very obviously wrong, so I thought I'd just add this screenshot since this is the error I am getting
I am simply trying to get to the point where I can display a locally saved SVG image in my iOS app. I have installed this plugin, as well as react-native-svg-transformer, with all the settings I could think mentioned. Since the error is complaining about this plugin, I thought I would start off here. I tried with my initial image, and thought maybe the image as wrong, so tried an svg file from wikipedia, but I just never get past this error, when I try to render the image. What is worse is that I don't see any entries about this error, so I have no idea what to try. Any ideas? Does anyone know what I'm doing wrong?
I don't even see a property called 'name' in Shape.tsx, so I'm guessing this prop is somehow inherited, but not understanding much about SVG, I am not sure how to proceed.
The test.svg file is the svg file in the first article of the wikipedia entry on svg files, to confirm I am using a valid file.
Question
I'm getting an error that is driving me nuts. Have tried searching for an answer elsewhere, and have not seen this issue anywhere. I'm probably doing something very obviously wrong, so I thought I'd just add this screenshot since this is the error I am getting
I am simply trying to get to the point where I can display a locally saved SVG image in my iOS app. I have installed this plugin, as well as react-native-svg-transformer, with all the settings I could think mentioned. Since the error is complaining about this plugin, I thought I would start off here. I tried with my initial image, and thought maybe the image as wrong, so tried an svg file from wikipedia, but I just never get past this error, when I try to render the image. What is worse is that I don't see any entries about this error, so I have no idea what to try. Any ideas? Does anyone know what I'm doing wrong?
I don't even see a property called 'name' in Shape.tsx, so I'm guessing this prop is somehow inherited, but not understanding much about SVG, I am not sure how to proceed.
The test.svg file is the svg file in the first article of the wikipedia entry on svg files, to confirm I am using a valid file.
package.json
component
metro.config.js
The text was updated successfully, but these errors were encountered: