@adyen/adyen-web
Version:
[](https://www.npmjs.com/package/@adyen/adyen-web)
23 lines (22 loc) • 747 B
TypeScript
import { h } from 'preact';
import UIElement from '../UIElement';
interface BlikElementData {
paymentMethod: {
type: string;
blikCode: string;
};
}
declare class BlikElement extends UIElement {
static type: string;
formatData(): BlikElementData;
get isValid(): boolean;
get displayName(): any;
get additionalInfo(): any;
/**
* NOTE: for future reference:
* this.props.onComplete (which is called from this.onComplete) equates to the merchant defined onAdditionalDetails callback
* (the initial /payments response defines an "await" action, actionTypes.ts translates this to "onComplete: props.onAdditionalDetails")
*/
render(): h.JSX.Element;
}
export default BlikElement;