我试图在react native中使用svg,我安装了react-native-svg,但它显示error,下面的代码有错误。
import { SvgUri } from 'react-native-svg';
<SvgUri width="100%" height="100%" uri="http://thenewcode.com/assets/images/thumbnails/homer-simpson.svg"/>请检查附图中的erro%r

发布于 2020-10-24 13:04:17
import * as React from 'react';
import { SvgCssUri } from 'react-native-svg';
export default () => (
<SvgCssUri
width="100%"
height="100%"
uri="http://thenewcode.com/assets/svg/accessibility.svg"
/>
);
https://stackoverflow.com/questions/64510106
复制相似问题