UNPKG

@paypal/react-paypal-js

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