@adyen/kyc-components
Version:
`adyen-kyc-components` provides the required pieces to build an onboarding flow based on a legal entity. To onboard and verify users, you need to create a user interface (UI) to collect user data. To speed up building your integration, Adyen offers onboar
14 lines (13 loc) • 627 B
TypeScript
import type { ComponentChildren } from 'preact';
import type { ComponentMap } from '../../components';
export interface AnalyticsProviderProps {
componentName: keyof ComponentMap;
children?: ComponentChildren;
legalEntityId: 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, legalEntityId, }: AnalyticsProviderProps) => import("preact/jsx-runtime").JSX.Element;