UNPKG

@adyen/adyen-web

Version:

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

25 lines (24 loc) 751 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; render(): h.JSX.Element; } export default EcontextElement;