im new at coding, new at React too, im trying to change my text color(and click again to change back to the original) with a click.
function lastTouches() {
return (
<Box>
<Box>
<TouchableOpacity>
<Text>
Change Color
</Text>
</TouchableOpacity>
</Box>
);
}
export default lastTouches;
Via Active questions tagged javascript - Stack Overflow https://ift.tt/2FdjaAW
Comments
Post a Comment