@paypal/react-paypal-js
Version:
React components for the PayPal JS SDK
14 lines (13 loc) • 322 B
TypeScript
import type { FC } from "react";
/**
* Functional component to render a custom ineligible error UI
*/
export declare const InEligibleError: FC<{
text?: string;
}>;
export declare const defaultProps: {
onInit(): void;
onClick(): void;
onError(err: Record<string, unknown>): void;
onCancel(): void;
};