@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.
40 lines (39 loc) • 1.17 kB
TypeScript
import type { DOMAttributes } from 'react';
import type { DefineComponent } from 'vue';
import type { BaseEmbedProps } from '../baseEmbedProps';
export type AdyenInvitedDecisionMakerProps = BaseEmbedProps;
declare module 'preact/jsx-runtime' {
namespace JSX {
interface IntrinsicElements {
'adyen-invited-decision-maker': AdyenInvitedDecisionMakerProps;
}
}
}
type CustomElement<T> = Partial<T & DOMAttributes<T> & {
children: any;
}>;
declare global {
namespace JSX {
interface IntrinsicElements {
'adyen-invited-decision-maker': CustomElement<AdyenInvitedDecisionMakerProps>;
}
}
namespace preact.JSX {
interface IntrinsicElements {
'adyen-invited-decision-maker': AdyenInvitedDecisionMakerProps;
}
}
}
declare module 'react/jsx-runtime' {
namespace JSX {
interface IntrinsicElements {
'adyen-invited-decision-maker': AdyenInvitedDecisionMakerProps;
}
}
}
declare module 'vue' {
interface GlobalComponents {
'adyen-invited-decision-maker': DefineComponent<AdyenInvitedDecisionMakerProps>;
}
}
export {};