Is there a way for me to retrieve the image source uri "profileImage" from the image component and pass it to the function, profileImageFilter(), as 'image source'.
I want 'image source' to be the "uri: profileImage" value
<TouchableOpacity onPress={profileImageFilter('image source')}>
<Image style={styles.profileimage} source={{uri: profileImage}}></Image>
</TouchableOpacity>