react-native-paypal-buttons
Version:
React native implementation of PayPal Buttons
22 lines (21 loc) • 670 B
JavaScript
;
import { PaymentButton } from './PaymentButton';
import { PaymentButtonEdges, PaymentButtonFundingSource, PaymentButtonSize, PayPalButtonColor, PayPalButtonLabel } from './types';
import { jsx as _jsx } from "react/jsx-runtime";
export const PayPalButton = ({
color = PayPalButtonColor.GOLD,
label = PayPalButtonLabel.NONE,
edges = PaymentButtonEdges.SOFT_EDGES,
size = PaymentButtonSize.EXPANDED,
...props
}) => {
return /*#__PURE__*/_jsx(PaymentButton, {
color: color,
label: label,
edges: edges,
size: size,
fundingSource: PaymentButtonFundingSource.PAYPAL,
...props
});
};
//# sourceMappingURL=PayPalButton.js.map