UNPKG

@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

10 lines (9 loc) 381 B
/** * We can't use {@link import('preact/hooks').useId} because it doesn't guarantee uniqueness across * different render trees. So multiple components mounted on the same page could have collisions. * * Therefore, we instead calculate a uuid and prepend a prefix. * * @param prefix a prefix to identify this usage */ export declare const useId: (prefix: string) => string;