react-native-paypal-buttons
Version:
React native implementation of PayPal Buttons
26 lines (25 loc) • 778 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.PayPalCreditButton = void 0;
var _PaymentButton = require("./PaymentButton");
var _types = require("./types");
var _jsxRuntime = require("react/jsx-runtime");
const PayPalCreditButton = ({
color = _types.CreditButtonColor.WHITE,
edges = _types.PaymentButtonEdges.SOFT_EDGES,
size = _types.PaymentButtonSize.EXPANDED,
...props
}) => {
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_PaymentButton.PaymentButton, {
color: color,
label: _types.PaymentButtonLabel.NONE,
edges: edges,
size: size,
fundingSource: _types.PaymentButtonFundingSource.CREDIT,
...props
});
};
exports.PayPalCreditButton = PayPalCreditButton;
//# sourceMappingURL=PayPalCreditButton.js.map