react-native-gesture-handler
Version:
Declarative API exposing native platform touch and gesture system to React Native
4 lines (3 loc) • 380 B
TypeScript
import * as React from 'react';
import { NativeViewGestureHandlerProps } from './NativeViewGestureHandler';
export default function createNativeWrapper<P>(Component: React.ComponentType<P>, config?: Readonly<NativeViewGestureHandlerProps>): React.ForwardRefExoticComponent<React.PropsWithoutRef<P & NativeViewGestureHandlerProps> & React.RefAttributes<React.ComponentType<any>>>;