UNPKG

react-native-navigation-bottom-sheet

Version:

A performant customizable bottom sheet component made on top of wix react-native-navigation library.

32 lines (21 loc) 1.14 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AnimatedStoreSheet = void 0; var _reactNativeReanimated = _interopRequireDefault(require("react-native-reanimated")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } /** * Namespace for animated values associated with the bottom sheet. */ class AnimatedStoreSheet { /* Animated value mapped to _dragY from _scrollY */ /* Value of a current speed of dragging */ static init() {} } exports.AnimatedStoreSheet = AnimatedStoreSheet; _defineProperty(AnimatedStoreSheet, "_scrollToDragVal", new _reactNativeReanimated.default.Value(0)); _defineProperty(AnimatedStoreSheet, "_velocityY", new _reactNativeReanimated.default.Value(0)); _defineProperty(AnimatedStoreSheet, "_snappedToTop", new _reactNativeReanimated.default.Value(0)); //# sourceMappingURL=AnimatedStoreSheet.js.map