UNPKG

@adyen/adyen-web

Version:

![npm](https://img.shields.io/npm/v/@adyen/adyen-web.svg)

24 lines (23 loc) 714 B
import { h } from 'preact'; import UIElement from '../UIElement'; import { KlarnaPaymentsProps } from './types'; import { PaymentAction } from '../../types'; declare class KlarnaPayments extends UIElement<KlarnaPaymentsProps> { static type: string; protected static defaultProps: { useKlarnaWidget: boolean; }; constructor(props: KlarnaPaymentsProps); get isValid(): boolean; protected formatData(): { paymentMethod: { subtype?: string; type: string; }; }; payButton: (props: any) => h.JSX.Element; updateWithAction(action: PaymentAction): void; onLoaded(): void; render(): h.JSX.Element; } export default KlarnaPayments;