📜  react native import svg image - Javascript代码示例

📅  最后修改于: 2022-03-11 15:03:26.085000             🧑  作者: Mango

代码示例1
yarn add react-native-svg         
yarn add react-native-svg-uri
npx react-native link react-native-svg
...
import * as React from 'react';
import SvgUri from 'react-native-svg-uri'; // SVG Package
import testSvg from './test.svg';          // SVG File
export default () => (
  
);