'How to show a text over an image when the computer mouse is above it? (React Native)
how do I make it so that when my mouse is above an image, a text appeared on the image(while keeping the image)? There is an answer for a text above the image without the "when my mouse is above an image" part here : How to place a text over image in react native? But it's not what I want. Here is my code:
<View
style={{
flex: 7.5,
//alignItems: "center",
justifyContent: "center",
}}
>
<Image
source={screen2}
style={{
width: "80%",
height: "80%",
marginBottom: 150,
marginTop: 120,
marginLeft: "15%",
}}
/>
</View>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
