UNPKG

@gorhom/bottom-sheet

Version:

A performant interactive bottom sheet with fully configurable options 🚀

23 lines (16 loc) • 568 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.useBottomSheetModalInternal = void 0; var _react = require("react"); var _contexts = require("../contexts"); const useBottomSheetModalInternal = () => { const context = (0, _react.useContext)(_contexts.BottomSheetModalInternalContext); if (context === null) { throw "'BottomSheetModalInternalContext' cannot be null!"; } return context; }; exports.useBottomSheetModalInternal = useBottomSheetModalInternal; //# sourceMappingURL=useBottomSheetModalInternal.js.map