Icons on https://icons.expo.fyi/ can't be used on app

  1. SDK Version: SDK 37.0.3
  2. Platforms(Android/iOS/web/all): Android
  • I have this on the package.json: “@expo/vector-icons”: “^10.2.0”
  • My component has: import { MaterialCommunityIcons } from ‘@expo/vector-icons’;
  • I’m trying to use the icon as: MaterialCommunityIcons name=“notebook-multiple” style={[some_styling]} /

I get a warning that the prop type ‘name’ is invalid. And the icon is not rendered, instead it shows a ?

I’m searching icons from here https://icons.expo.fyi/

Note that: ‘notebook-outline’ gives the same warning but ‘notebook’ works.

I deleted all the npm-modules and re-install

Any ideas what could be happening here?

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.