Skip to main content

Touchable

Animated wrapper providing native-like tap feedback. You can use it instead of raw div + onClick.

Anchor to children
children
React.ReactNode

Content to render inside the touchable area

Anchor to onClick
onClick
React.MouseEventHandler<HTMLDivElement>

Click handler

Anchor to stopPropagation
stopPropagation
boolean

Prevent click event from bubbling to parent elements


Was this page helpful?