expo / vector-icons

https://icons.expo.fyi
MIT License
648 stars 114 forks source link

Warning: Failed prop type: Invalid prop `name` of value `set-meal` supplied to `Icon`, #164

Closed AKclown closed 3 years ago

AKclown commented 3 years ago

Error message: image


Reproduce the code: When I use the set-meal icon in the page, show me the question mark image


Operating environment: "@expo/vector-icons": "^10.0.0", "expo": "^38.0.0", "react-native": "https://github.com/expo/react-native/archive/sdk-38.0.2.tar.gz",

If you let the icon display normally, thanks

brentvatne commented 3 years ago

you are seeing this because set-meal is not an icon that is available on MaterialIcons.

the fonts listed on https://icons.expo.fyi/ are for the latest version of @expo/vector-icons, 12.0.4, and you are using version ^10. you can clone this repo and check out version 10 and run the website directory to explore icons, or refer to the allowed fonts from that list you screenshotted