@adyen/adyen-web
Version:
[](https://www.npmjs.com/package/@adyen/adyen-web)
25 lines (24 loc) • 751 B
TypeScript
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;