<text> in svg file is not rendering in react-native component using react-native-svg-uri -


i have csv file has below. have used react-native-svg-uri render csv file reason not rendering. other part of csv file rendering fine.

following excerpt csv file.

<text id="pay" font-family="bentonsans-bold, bentonsans" font-size="20" font-weight="bold" line-spacing="38" fill="#1274b8">     <tspan x="87" y="34">pay</tspan> </text> 

following react-native code.

import svguri 'react-native-svg-uri';  <view>         <svguri source={require('./logo.svg')} /> </view> 

is css used in cause problem? how make work?

check out source of react-native-svg-uri here: https://github.com/matc4/react-native-svg-uri/blob/master/index.js#l90

it doesn't have case <text />. fix you'd have fork , add case :)


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -