@paypal/react-paypal-js
Version:
React components for the PayPal JS SDK
8 lines (7 loc) • 405 B
TypeScript
/// <reference types="react" />
import { RegistryHookReturnType } from "./hooks";
import type { PayPalCardFieldsComponent } from "@paypal/paypal-js/types/components/card-fields";
export type PayPalCardFieldsContextType = {
cardFieldsForm: PayPalCardFieldsComponent | null;
} & RegistryHookReturnType;
export declare const PayPalCardFieldsContext: import("react").Context<PayPalCardFieldsContextType>;