@paypal/react-paypal-js
Version:
React components for the PayPal JS SDK
11 lines (10 loc) • 419 B
TypeScript
import { Dispatch } from "react";
import type { BraintreeAction } from "./BraintreePayPalContext";
/**
* Internal context for dispatching Braintree PayPal state updates.
* This is NOT exported to external consumers.
* Only hooks like useBraintreeEligibleMethods can access this internally.
*
* @internal
*/
export declare const BraintreeDispatchContext: import("react").Context<Dispatch<BraintreeAction> | null>;