UNPKG

react-native-gesture-handler

Version:

Declarative API exposing native platform touch and gesture system to React Native

24 lines (23 loc) 615 B
"use strict"; import * as React from 'react'; import { View, StyleSheet } from 'react-native'; import GestureHandlerRootViewContext from '../GestureHandlerRootViewContext'; import { jsx as _jsx } from "react/jsx-runtime"; export default function GestureHandlerRootView({ style, ...rest }) { return /*#__PURE__*/_jsx(GestureHandlerRootViewContext.Provider, { value: true, children: /*#__PURE__*/_jsx(View, { style: style ?? styles.container, ...rest }) }); } const styles = StyleSheet.create({ container: { flex: 1 } }); //# sourceMappingURL=GestureHandlerRootView.web.js.map