@adyen/react-native
Version:
Wraps Adyen Checkout Drop-In and Components for iOS and Android for convenient use with React Native
12 lines • 491 B
TypeScript
import React from 'react';
import type { PaymentMethod } from '../core/types';
export interface CardViewProps {
/** PaymentMethod object. If not provided, the first available payment method will be used. */
paymentMethod?: PaymentMethod;
}
/**
* Type-safe wrapper for the native CardView component.
* Automatically serializes PaymentMethod and Configuration objects to JSON strings.
*/
export declare const CardView: React.FC<CardViewProps>;
//# sourceMappingURL=CardView.d.ts.map