how to import svg in react native code example
Example 1: import svg react
import React from 'react';
import LogoName from '../assets/logo.svg'
const Header = () => {
return (
<div>
<img src={LogoName} alt="logo"/>
</div>
);
}
Example 2: react-native-svg
yarn add react-native-svg