![]() ![]() ![]() Import SvgImage from './path/to/svg/file.As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers.Īlternatively you can here view or download the uninterpreted source code file. Import and display the svg image in your code like below:.Import Svg, = require('expo/metro-config') īabelTransformerPath: require.resolve("react-native-svg-transformer")ĪssetExts: assetExts.filter(ext => ext != "svg"), ![]() If you need it to work in expo, one workaround might be to use and move the spreading of props to a G element instead of the SVG root like this: import * as React from 'react' finally, after long research, I've found one solution for my expo project. I've tried all the above solutions and other solutions outside of the stack and none of working for me. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |