UNPKG

@adyen/adyen-web

Version:

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

24 lines (23 loc) 725 B
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;