Hey everyone,
I am trying to place icons in my project but instead of icons it is showing “?” symbol with the warning msg
I have attached the screenshots and someone help me with a solution.
Thanks in advance
Hey everyone,
I am trying to place icons in my project but instead of icons it is showing “?” symbol with the warning msg
I have attached the screenshots and someone help me with a solution.
Thanks in advance
The reason this is happening is because you’re not specifying the type for the Icon
<Icon
name='menu'
type='feather'
etc....
/>
You can find the different keys on the Icon reference here
https://react-native-training.github.io/react-native-elements/docs/icon.html
Edit: Just seen you’re using just vector-icons.
Take a look at their GitHub and how they do it
Tqs @ptgodz. i have tried the option which u have suggested me but i am still facing the same error , i can view some of the icons but some are still as previous.i am attaching the screenshots of the outputs have a look at it.
dependencies :{
“react”: “16.3.1”,
“react-native”: “~0.55.2”,
“react-native-elements”: “^0.19.1”,
“react-native-vector-icons”: “^4.6.0”
}
No problem, glad you’ve sorted it!
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.