Reputation: 404
I have a container in which I need two elements so that when I hover over the container, one element will be hidden and the other will be highlighted. Styled by tamagui is used. I know how to do it in css, but it doesn’t work in styled. example:
<Text color="$white1" fos="$4" id="notHidden">
{text}
</Text>
<Text color="$white1" fos="$4" id="hidden">
{text}
</Text>
Upvotes: 0
Views: 38