UNPKG

@adyen/adyen-web

Version:

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

21 lines (20 loc) 714 B
import { h } from 'preact'; import UIElement from '../UIElement'; import { AmazonPayElementData, AmazonPayElementProps } from './types'; import './AmazonPay.scss'; export declare class AmazonPayElement extends UIElement<AmazonPayElementProps> { static type: string; protected static defaultProps: Partial<AmazonPayElementProps>; formatProps(props: any): any; /** * Formats the component data output */ formatData(): AmazonPayElementData; getShopperDetails(): void | Promise<any>; handleDeclineFlow(): void; get isValid(): boolean; get browserInfo(): import("../../types").BrowserInfo; submit(): any; render(): h.JSX.Element; } export default AmazonPayElement;