@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.
42 lines (41 loc) • 1.16 kB
TypeScript
import type { DOMAttributes } from 'react';
import type { DefineComponent } from 'vue';
import type { BaseEmbedProps } from '../baseEmbedProps';
export interface AdyenIndividualStatusProps extends BaseEmbedProps {
onclick?(): void;
}
declare module 'preact/jsx-runtime' {
namespace JSX {
interface IntrinsicElements {
'adyen-individual-status': AdyenIndividualStatusProps;
}
}
}
type CustomElement<T> = Partial<T & DOMAttributes<T> & {
children: any;
}>;
declare global {
namespace JSX {
interface IntrinsicElements {
'adyen-individual-status': CustomElement<AdyenIndividualStatusProps>;
}
}
namespace preact.JSX {
interface IntrinsicElements {
'adyen-individual-status': AdyenIndividualStatusProps;
}
}
}
declare module 'react/jsx-runtime' {
namespace JSX {
interface IntrinsicElements {
'adyen-individual-status': AdyenIndividualStatusProps;
}
}
}
declare module 'vue' {
interface GlobalComponents {
'adyen-individual-status': DefineComponent<AdyenIndividualStatusProps>;
}
}
export {};