UNPKG

@rnw-community/react-native-payments

Version:

Accept Payments with Apple Pay and Android Pay using the Payment Request API.

9 lines (7 loc) 363 B
import type { PaymentRequestEventListener } from '../type/payment-request-event-listener.type.js'; import type { Maybe } from '@rnw-community/shared'; import type { EmitterSubscription } from 'react-native'; export interface PaymentRequestEventRegistrationInterface { listeners: PaymentRequestEventListener[]; subscription: Maybe<EmitterSubscription>; }