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