We just need to re-run the project to see working properly for Android also. apply from: "././node_modules/react-native-vector-icons/adle" then add this code below the end of the code. We solved for iOS, let's see what we need to do for Android.įor Android go to in your app android/app/adle file. When you re-run the project error will be gone. We should add the code snippet below to our ist file. We got an error because the packager could not find our icons assets. You will get an error like this: Unrecognized font family 'Material Design Icons' Figma Community file - February Update - New Med Icons Enjoy around 20 new medical-related icons made by a brand new contributor, Monika Matusik Welcome to the icon gang - Carefully designed pack by our in-house design team to help you with icons in your projects. Import MaterialCommunityIcons from 'react-native-vector-icons/MaterialCommunityIcons' Yarn add react-native-vector-icons & npx pod-installĬhange to App.js to like this. Then add vector icon package with your preferred choice of package manager npm or yarn. create one app npx react-native init TestVectorIcons But for the vector icons package, there is something to do for assets. In this article, we are going to show how to install React Native Vector Icons package to the app.Īs you know React Native introduced the Autolinking feature with 0.60.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |