UNPKG

@paypal/react-paypal-js

Version:
13 lines (10 loc) 836 B
import type { FC } from "react"; import type { BraintreePayPalButtonsComponentProps } from "../../types"; /** This `<BraintreePayPalButtons />` component renders the [Braintree PayPal Buttons](https://developer.paypal.com/braintree/docs/guides/paypal/overview) for Braintree Merchants. It relies on the `<PayPalScriptProvider />` parent component for managing state related to loading the JS SDK script. Note: You are able to make your integration using the client token or using the tokenization key. - To use the client token integration set the key `dataClientToken` in the `PayPayScriptProvider` component's options. - To use the tokenization key integration set the key `dataUserIdToken` in the `PayPayScriptProvider` component's options. */ export declare const BraintreePayPalButtons: FC<BraintreePayPalButtonsComponentProps>;