@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
13 lines (12 loc) • 346 B
TypeScript
type UseExpiryThreshold = {
expiryStatus: 'notYetCloseToExpiry';
secondsUntilExpiry: undefined;
} | {
expiryStatus: 'almostExpired';
secondsUntilExpiry: number;
} | {
expiryStatus: 'expired';
secondsUntilExpiry: 0;
};
export declare const useExpiryThreshold: (expiry: number | undefined) => UseExpiryThreshold;
export {};