Touchable
Animated wrapper providing native-like tap feedback. You can use it instead of raw div + onClick.
Anchor to propsProps
- Anchor to childrenchildrenchildrenReact.ReactNodeReact.ReactNode
Content to render inside the touchable area
- Anchor to onClickonClickonClickReact.MouseEventHandler<HTMLDivElement>React.MouseEventHandler<HTMLDivElement>
Click handler
- Anchor to stopPropagationstopPropagationstopPropagationbooleanboolean
Prevent click event from bubbling to parent elements
Was this page helpful?