UNPKG

@attio/react-native-bottom-sheet-toolbox

Version:
16 lines (15 loc) 453 B
"use strict"; import { GestureDetector } from "react-native-gesture-handler"; import { useBottomSheetDragGesture } from "../hooks"; import { jsx as _jsx } from "react/jsx-runtime"; export function BottomSheetDragGesture({ children, ...rest }) { const gesture = useBottomSheetDragGesture(rest); return /*#__PURE__*/_jsx(GestureDetector, { gesture: gesture, children: children }); } //# sourceMappingURL=bottom-sheet-drag-gesture.js.map