UNPKG

@paypal/react-paypal-js

Version:
11 lines (10 loc) 403 B
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>;