brh55 / react-native-masonry

:raised_hands: A pure JS react-native component to render a masonry~ish layout for images with support for dynamic columns, progressive image loading, device rotation, on-press handlers, and headers/captions.
MIT License
1.32k stars 157 forks source link

Add TouchableOpacity support #102

Closed logicallyDimp closed 5 years ago

logicallyDimp commented 5 years ago

Is this possible? just so you can see if you press the item.

brh55 commented 5 years ago

You can on the image itself, but not on the overall element. Would need to write some additional code to handle this.

logicallyDimp commented 5 years ago

oh I see.. So you have to wrap your image on a custom component with TouchableOpacity.. thanks! you just gave me an idea