TouchableOpacity

A wrapper for TouchableOpacity component. Support onPress, throttling and activeBackgroundColor

Extends: TouchableOpacity
(meaning you can pass the super component's props as well).

Supported modifiers: margins, paddings, alignments, background, borderRadius.
Read more about modifiers here.

PROPS

namedescriptiontypedefault
backgroundColorbackground color for TouchableOpacitystring
throttleTimethrottle time in MS for onPress callbacknumber
throttleOptionsthrottle optionsshape
activeBackgroundColorApply background color on TouchableOpacity when active (press is on)string

LIVE EXAMPLE

CODE SAMPLE

See example here.