UNPKG

@adyen/kyc-components

Version:

This guide assumes that you have already an account with Adyen. A legalEntity needs to be created, and you need to have a `legalEntityId` to instatiate a Component.

45 lines (44 loc) 1.33 kB
import type { DOMAttributes } from 'react'; import type { DefineComponent } from 'vue'; import type { BaseEmbedProps } from '../baseEmbedProps'; /** * @see https://docs.adyen.com/platforms/onboard-users/components/transfer-instrument/#initialize-components */ export interface AdyenTermsOfServiceStatusProps extends BaseEmbedProps { onclick?(): void; } declare module 'preact/jsx-runtime' { namespace JSX { interface IntrinsicElements { 'adyen-terms-of-service-status': AdyenTermsOfServiceStatusProps; } } } type CustomElement<T> = Partial<T & DOMAttributes<T> & { children: any; }>; declare global { namespace JSX { interface IntrinsicElements { 'adyen-terms-of-service-status': CustomElement<AdyenTermsOfServiceStatusProps>; } } namespace preact.JSX { interface IntrinsicElements { 'adyen-terms-of-service-status': AdyenTermsOfServiceStatusProps; } } } declare module 'react/jsx-runtime' { namespace JSX { interface IntrinsicElements { 'adyen-terms-of-service-status': AdyenTermsOfServiceStatusProps; } } } declare module 'vue' { interface GlobalComponents { 'adyen-terms-of-service-status': DefineComponent<AdyenTermsOfServiceStatusProps>; } } export {};