Closed bishwajeet-billme closed 4 years ago
@bishwajeet-billme I have this same issue. Did you fix it?
@grp06 yes
import { SvgXml } from 'react-native-svg'; import NoBillSvg from '../../Images/svgfile/Telescope.svg';
SvgXml xml={NoBillSvg} width="60" height="60"
Actually, in svg-uri having issue to render svg file so, Instead of using svgUri, I am using svgXml to render svg file.
Here is my code to react-native.
import * as React from 'react'; import { View, StyleSheet, Text } from "react-native"; // import Svg, { SvgUri } from "react-native-svg"; import SvgUri from 'react-native-svg-uri'; import NoBillSvg from '../../Images/svgfile/Telescope.svg'; import NoInternetSvg from "../../I"
export const NoBillFound=()=>{ return(
}