// Module ID: 7953 // Function ID: 7954 // Name: useBottomSheetRef // Dependencies: [19, 2] // Exports: useBottomSheetRef // Module 7953 (useBottomSheetRef) import noop from "noop"; const result = require("set").fileFinishedImporting("design/components/Sheet/native/useBottomSheetRef.tsx"); export const useBottomSheetRef = function useBottomSheetRef() { ref = ref.useRef(null); const items = [ref]; return { bottomSheetRef: ref, bottomSheetClose: ref.useCallback(() => { const current = ref.current; if (current != null) { current.closeActionSheet(); } }, items) }; };