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