@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.
13 lines (12 loc) • 569 B
TypeScript
import type { ComponentChildren } from 'preact';
export interface AnalyticsProviderProps {
componentName: string;
children?: ComponentChildren;
rootLegalEntityId: string;
}
/**
* The provider exists to scope analytics to one application instance.
* This would otherwise be problematic when a consumer might have several
* instantiations of a embedded Component for instance on the same page
*/
export declare const AnalyticsProvider: ({ componentName, children, rootLegalEntityId, }: AnalyticsProviderProps) => import("preact/jsx-runtime").JSX.Element;