UNPKG

react-native-unit-components

Version:

Unit React Native components

45 lines 2.45 kB
export let BottomSheetNativePlaceType = /*#__PURE__*/function (BottomSheetNativePlaceType) { BottomSheetNativePlaceType["overFullScreen"] = "overFullScreen"; BottomSheetNativePlaceType["modal"] = "modal"; BottomSheetNativePlaceType["menu"] = "menu"; BottomSheetNativePlaceType["contentHeight"] = "contentHeight"; return BottomSheetNativePlaceType; }({}); export let ScrollState = /*#__PURE__*/function (ScrollState) { /* Web View ScrollState - - Initialization: 'onTop': for a scrollable webView. (onTop means that the webview is onTop of the BottomSheet and we need to recognize the scroll direction). Then, it recognize the scroll direction and update the scroll state as needed. -'unScrollable': for an unscrollable webView */ ScrollState["onTop"] = "onTop"; ScrollState["unScrollable"] = "unScrollable"; /* These are only for maintain the bottom sheet scrollState (not an initialize scroll state). It relates to the current scroll state. onlyWebView means that now the scroll is on webview (only). onlyBottomSheet means that now the scroll is on bottomSheet (only). */ ScrollState["onlyWebView"] = "webViewScroll"; ScrollState["onlyBottomSheet"] = "onlyBottomSheet"; return ScrollState; }({}); export let BottomSheetRenderingType = /*#__PURE__*/function (BottomSheetRenderingType) { BottomSheetRenderingType[BottomSheetRenderingType["Slot"] = 0] = "Slot"; BottomSheetRenderingType[BottomSheetRenderingType["NativeComponent"] = 1] = "NativeComponent"; return BottomSheetRenderingType; }({}); export let BottomSheetNativeComponentType = /*#__PURE__*/function (BottomSheetNativeComponentType) { BottomSheetNativeComponentType["AddToWalletComponent"] = "UNAddToWalletComponent"; BottomSheetNativeComponentType["ACHCreditComponent"] = "UNACHCreditComponent"; BottomSheetNativeComponentType["ACHDebitComponent"] = "UNACHDebitComponent"; BottomSheetNativeComponentType["CheckDepositComponent"] = "UNCheckDepositComponent"; BottomSheetNativeComponentType["CheckPaymentComponent"] = "UNCheckPaymentComponent"; BottomSheetNativeComponentType["BookPaymentComponent"] = "UNBookPaymentComponent"; BottomSheetNativeComponentType["WirePaymentComponent"] = "UNWirePaymentComponent"; BottomSheetNativeComponentType["CreateCardComponent"] = "UNCreateCardComponent"; return BottomSheetNativeComponentType; }({}); //# sourceMappingURL=bottomSheet.types.js.map