createNativeWrapper
danger
Consider using the new gestures API instead. The old API is not actively supported and is not receiving the new features. 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.