All Questions
Tagged with react-native-svg typescript
13
questions
0
votes
0
answers
27
views
RN Error during bundling while setting SVG
I'm a student new to React Native. I was setting up the svg library to use the svg file to create a hands-on project with TypeScrit. However, when I insert those libraries, the same error occurs. How ...
0
votes
0
answers
24
views
React Native Remote SVG use
I am using react native 0.73 and trying to use remote svg images. SVG url https://hdor.com/app/assets/images/hdor-2021-icons/badges/bw/25km.svg this is the url which i am trying to use in my ...
0
votes
1
answer
249
views
SVGR has dropped some elements not supported by react-native-svg: filter
how to use my svg file in react native, i tried converting svg to react native and there is a warning: "/* SVGR has dropped some elements not supported by react-native-svg: filter */" and it ...
1
vote
0
answers
495
views
java.lang.Double cannot be cast to abi48_0_0.com.facebook.react.bridge.ReadableMap Error when using svgs on Android
Waddup salty members of stackoverflow.
I have a react-native app with expo and have been developing on IOS for some time. When I finnaly got around to getting an android phone to test on for android. ...
1
vote
0
answers
111
views
Real-time line charting with React-Native
I'm new to drawing a graph with react-native. The problem is, I can read the data sent with Ble as a value on the screen, but I'm having trouble making real-time graphs. There must be a mistake ...
1
vote
1
answer
356
views
Is there a way to access a clipped svg image to save back to the device in react-native using react-native-svg
I have a static image that I crop with a circle and now I want to save this modified image in my device's gallery, does anyone know how to do that? I am using TypeScript.
Cropped image:
import React ...
0
votes
1
answer
340
views
Multiple SVG icons as one component?
I can currently code SVGs in React-Native (typescript). This allows me to call them as individual react native components. Here's a made up example of what I can currently do:
<View>
<...
0
votes
0
answers
222
views
React-native-svg loading animated svg file from url
I am using "react-native-svg": "^12.1.0" and am opening svg this way:
<SvgCssUri uri={imageURL} style={imageStyle} height={height} width={width} />
If the svg on url is ...
3
votes
0
answers
666
views
Problems with react-native-svg-transformer and typescript
I decided to add typescript in a existing project and have a issue when a i works with import of .svg like a this
import Icon from "../../../assets/Icon.svg";
i tried configure metro.config....
1
vote
1
answer
2k
views
react-native-svg ForeignObject element not found (React-Native + Expo + TypeScript)
I have a React Native project created with Expo. I also used the expo TypeScript configuration.
I installed react-native-svg using "expo install." I currently have version 9.13.3 installed.
Whenever ...
1
vote
0
answers
437
views
How to fix TypeError: undefined is not an object (evaluating '_config.Svg.G')
I'm getting this error in an expo react native project I'm working on. I've updated all packages to match expo SDK 36, so I'm not sure where the error is coming from.
TypeError: undefined is not an ...
10
votes
2
answers
4k
views
Animating width of <Rect /> in react-native-svg
I have simple animation interpolation going on for <Rect /> element, however I see no changes on my ui, as if width is staying 0.
I manually added my end value to the component as width={149.12}...
2
votes
1
answer
1k
views
How do I compensate for a rotated container view in my circular slider component?
I have successfully pieced together a circular slider component from various, partially-documented code snippets (mainly here). I've tidied things up a bit and now have something I can use as a ...