How To Use Svg In React Native. Expo init new-expo-app Move into the new-expo-app folder. Choose the b lank bare workflow.
Import as React from react. It exist on all platforms in some way or form so its just. Using SVGs in React-native application.
Add a comma to the previous item if theres already something there.
Use this if you are using Expo import as Svg from react-native-svg. The component is a parent component that is needed to render any SVG shape. Import Svg Circle Rect from react-native-svg. Npm i save react-native-svg.