Types for icon names

Please provide the following:

  1. SDK Version: 40
  2. Platforms(Android/iOS/web/all): all

hey, I’m trying to update to expo 40. It seems to the update to vector icons changed the typing of name inside the Icon component.
For example


I have icon name as a string type, however it was changed to a list of available icon name strings for feather. Is there a way I can import the valid strings type so that I can pass the typing down for my component?


1 Like

I am facing the same situation here.

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