UNPKG

@gorhom/bottom-sheet

Version:

A performant interactive bottom sheet with fully configurable options 🚀

12 lines (10 loc) • 384 B
import { useContext } from 'react'; import { BottomSheetModalInternalContext } from '../contexts'; export const useBottomSheetModalInternal = () => { const context = useContext(BottomSheetModalInternalContext); if (context === null) { throw "'BottomSheetModalInternalContext' cannot be null!"; } return context; }; //# sourceMappingURL=useBottomSheetModalInternal.js.map