@adyen/adyen-web
Version:
[](https://www.npmjs.com/package/@adyen/adyen-web)
24 lines (23 loc) • 725 B
TypeScript
import { h } from 'preact';
import QRLoaderContainer from '../helpers/QRLoaderContainer';
import { PixElementData, PixProps } from './types';
declare class PixElement extends QRLoaderContainer<PixProps> {
static type: string;
static defaultProps: {
qrCodeImage: string;
amount: any;
paymentData: any;
onError: () => void;
onComplete: () => void;
onActionHandled: () => void;
showPayButton: boolean;
personalDetailsRequired: boolean;
countdownTime: number;
delay: number;
};
get isValid(): boolean;
formatProps(props: any): PixProps;
formatData(): PixElementData;
render(): h.JSX.Element;
}
export default PixElement;