UNPKG

react-native-adapty

Version:
23 lines 709 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DEFAULT_ONBOARDING_EVENT_HANDLERS = exports.DEFAULT_EVENT_HANDLERS = exports.AdaptyUiDialogActionType = void 0; exports.AdaptyUiDialogActionType = Object.freeze({ primary: 'primary', secondary: 'secondary', }); /** * @internal */ exports.DEFAULT_EVENT_HANDLERS = { onCloseButtonPress: () => true, onAndroidSystemBack: () => true, onRestoreCompleted: () => true, onPurchaseCompleted: (purchaseResult) => purchaseResult.type !== 'user_cancelled', }; /** * @internal */ exports.DEFAULT_ONBOARDING_EVENT_HANDLERS = { onClose: () => true, }; //# sourceMappingURL=types.js.map