UNPKG

@adyen/react-native

Version:

Wraps Adyen Checkout Drop-In and Components for iOS and Android for convenient use with React Native

35 lines 1.08 kB
import { type StyleProp, type ViewStyle } from 'react-native'; export declare const ApplePayButtonTheme: { readonly WHITE: 1; readonly WHITE_OUTLINE: 2; readonly AUTOMATIC: 3; readonly BLACK: 4; }; export declare const ApplePayButtonType: { readonly BUY: 1; readonly SETUP: 2; readonly INSTORE: 3; readonly DONATE: 4; readonly CHECKOUT: 5; readonly BOOK: 6; readonly SUBSCRIBE: 7; readonly RELOAD: 8; readonly ADDMONEY: 9; readonly TOPUP: 10; readonly ORDER: 11; readonly RENT: 12; readonly SUPPORT: 13; readonly CONTRIBUTE: 14; readonly TIP: 15; readonly CONTINUE: 16; readonly PLAIN: 0; }; export interface ApplePayButtonProps { theme?: keyof typeof ApplePayButtonTheme; type?: keyof typeof ApplePayButtonType; radius?: number; onPress?: () => void; style?: StyleProp<ViewStyle>; } export declare const ApplePayButton: ({ theme, type, radius, onPress, style, }: ApplePayButtonProps) => import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=ApplePayButton.d.ts.map