UNPKG

@adyen/adyen-web

Version:

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

26 lines (25 loc) 775 B
import { h } from 'preact'; import UIElement from '../UIElement'; import { UIElementProps } from '../types'; import { PersonalDetailsSchema } from '../../types'; interface EcontextElementProps extends UIElementProps { reference?: string; personalDetailsRequired?: boolean; data?: PersonalDetailsSchema; showFormInstruction?: boolean; } export declare class EcontextElement extends UIElement<EcontextElementProps> { static type: string; protected static defaultProps: { personalDetailsRequired: boolean; showFormInstruction: boolean; }; get isValid(): boolean; /** * Formats the component data output */ formatData(): any; get icon(): string; render(): h.JSX.Element; } export default EcontextElement;