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