Version: 2.3.0

createNativeWrapper

info

We recently released RNGH 2.0 with new Gestures system. Check out RNGH 2.0 section in Introduction for more information.

Creates provided component with NativeViewGestureHandler, allowing it to be part of RNGH's gesture system.

Arguments

Component

The component we want to wrap.

config

Config is an object with properties that can be used on NativeViewGestureHandler

Returns

Wrapped component.