createNativeWrapper
The old API will be removed in the future version of Gesture Handler. Please migrate to gestures API instead. Check out our upgrading guide 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.