@shopgate/engage
Version:
Shopgate's ENGAGE library.
13 lines • 416 B
JavaScript
import { isAvailable } from '@shopgate/native-modules';
import Provider from "./PaypalProvider";
import Button from "./PaypalButton";
import PayButton from "./PaypalPayButton";
import { hasWebBridge } from "../../../core";
export default {
code: 'paypal',
provider: Provider,
button: Button,
content: () => null,
payButton: !isAvailable() ? PayButton : null,
getSupportsRedirect: () => !hasWebBridge()
};