UNPKG

react-native-moyasar-sdk

Version:

Official React Native Moyasar SDK - Integrate Credit Cards, Apple Pay, Samsung Pay, and STC Pay with simple interfaces for a seamless payment experience in your React Native app

29 lines (28 loc) 782 B
"use strict"; import * as React from 'react'; import { NativeModules, requireNativeComponent } from 'react-native'; import { jsx as _jsx } from "react/jsx-runtime"; const RNPKPaymentButton = requireNativeComponent('PKPaymentButton', null, { nativeOnly: { onPress: true } }); export class PKPaymentButton extends React.Component { static defaultProps = { buttonStyle: 'black', buttonType: 'plain', height: 44, cornerRadius: 4 }; render() { return /*#__PURE__*/_jsx(RNPKPaymentButton, { buttonStyle: this.props.style, buttonType: this.props.type, onPress: this.props.onPress, width: this.props.width, height: this.props.height, cornerRadius: this.props.cornerRadius }); } } //# sourceMappingURL=index.js.map