UNPKG

@gorhom/bottom-sheet

Version:

A performant interactive bottom sheet with fully configurable options 🚀

18 lines (17 loc) • 1.05 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _react = require("react"); var _reactNative = require("react-native"); var _reactNativeReanimated = _interopRequireDefault(require("react-native-reanimated")); var _constants = require("../../constants"); var _createBottomSheetScrollableComponent = require("./createBottomSheetScrollableComponent"); function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } const AnimatedSectionList = _reactNativeReanimated.default.createAnimatedComponent(_reactNative.SectionList); const BottomSheetSectionListComponent = (0, _createBottomSheetScrollableComponent.createBottomSheetScrollableComponent)(_constants.SCROLLABLE_TYPE.SECTIONLIST, AnimatedSectionList); const BottomSheetSectionList = /*#__PURE__*/(0, _react.memo)(BottomSheetSectionListComponent); BottomSheetSectionList.displayName = 'BottomSheetSectionList'; var _default = exports.default = BottomSheetSectionList; //# sourceMappingURL=BottomSheetSectionList.js.map