Closed erhanbicer closed 4 years ago
I was also thinking that if you wanted to use react-native-vector-icons
you could use renderImage
prop to do so and include the dependency in the project.
For dynamic icons we can use https://github.com/WrathChaos/react-native-dynamic-vector-icons and make react-native-vector-icons
as peer depedencies because that package need linking
I think that would add unnecessary bloat to applications that do not use vector icons. Especially considering that this is a native dependency, breaking web support.
It would be easy to pass a renderImage
function to achieve the same effect.
@erhanbicer Thanks so much. I have recently refactored and will rework your changes.