UNPKG

@adyen/react-native

Version:

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

18 lines (14 loc) 518 B
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent'; import type { ViewProps } from 'react-native'; import type { DirectEventHandler, Int32, } from 'react-native/Libraries/Types/CodegenTypes'; type PayButtonPressedEvent = Readonly<{}>; export interface NativeProps extends ViewProps { theme?: Int32; type?: Int32; radius?: Int32; onButtonPress?: DirectEventHandler<PayButtonPressedEvent>; } export default codegenNativeComponent<NativeProps>('PlatformPayView');