@commercelayer/react-components
Version:
The Official Commerce Layer React Components
13 lines (12 loc) • 470 B
TypeScript
import type { IconBrand } from './PaymentSourceContext';
interface DefaultContext {
brand?: IconBrand | string;
exp_month?: number | string;
exp_year?: number | string;
last4?: string;
issuer_type?: string;
handleDeleteClick?: (e: MouseEvent) => void;
}
export declare const defaultCustomerPaymentSourceContext: {};
declare const CustomerPaymentSourceContext: import("react").Context<DefaultContext>;
export default CustomerPaymentSourceContext;