React-native-vector-icons: Stand alone getImageSource

Created on 14 Mar 2018  路  4Comments  路  Source: oblador/react-native-vector-icons

Is there a standalone getImageSource lib? I like how it can tint any image. (i think sizes are not changeable correct? just what is available on the image, so if we wanted 24 we would have to have a 24x24 version of it etc)

All 4 comments

I'm a bit unsure of what type of feature you're requesting. If you want to have a fixed width it's possible by overriding the width on the Image component.

@oblador thanks for your reply! I know you have so many things going on.

I was looking for a generic function that can tint any image. It seems theres a native function built into vector icons to tint images.

Hey, Image takes a tintColor style, try that! 馃樃

Noooooo wayy!!!! Thank you so so so much!!!!!

Was this page helpful?
0 / 5 - 0 ratings