import * as React from 'react'; import { StyleSheet, StyleProp, ViewStyle } from 'react-native'; import hoistNonReactStatics from 'hoist-non-react-statics'; import GestureHandlerRootView from './GestureHandlerRootView'; /** * @deprecated `gestureHandlerRootHOC` is deprecated and will be removed in the future version of Gesture Handler. * Use `GestureHandlerRootView` directly instead. */ export default function gestureHandlerRootHOC
( Component: React.ComponentType
,
containerStyles?: StyleProp {
function Wrapper(props: P) {
return (