What does TouchableHighlight do and when do you use it?

Technology CommunityCategory: React NativeWhat does TouchableHighlight do and when do you use it?
VietMX Staff asked 3 years ago

TouchableHighlight darkens or lightens the background of the element when pressed.

It is mostly used on iOS for touchable elements or buttons that have a solid shape or background, and on ListView items.