@commercelayer/react-components
Version:
The Official Commerce Layer React Components
11 lines (10 loc) • 550 B
TypeScript
import { type JSX } from "react";
import type { PaymentMethodConfig } from "../../reducers/PaymentMethodReducer";
import type { PaymentSourceProps } from "./PaymentSource";
type KlarnaPaymentProps = PaymentMethodConfig["klarnaPayment"] & JSX.IntrinsicElements["div"] & Partial<PaymentSourceProps["templateCustomerSaveToWallet"]> & {
show?: boolean;
clientToken: string;
locale?: string | null;
};
export default function KlarnaPayment({ clientToken, placeOrderCallback, locale, ...p }: KlarnaPaymentProps): JSX.Element | null;
export {};