Add an SVG in React Native with Expo

Tiempo de lectura: 2 minutos We will learn today how to add an SVG image in React Native using Expo. The first thing we will do is install the necessary dependencies: First react-native-svg html expo install react-native-svg And now we installreact-native-svg-transformer npm install –save-dev react-native-svg-transformer We need to configure react-native-svg-transformer. To do this, we open the metro.config.js file and add: … Read more