expo/vector-icons

Support generic Icon component with ‘type’ prop

VictorioMolina opened this issue · 0 comments

I am moving an old project from react-native-elements to this library.

Previously, with the mentioned package, I was able to do something like:

<Icon
   type=“material”
   name=“search”
   
/>

Instead of importing a specific component for each specific icon family, is there another generic way supporting a type prop?