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

15 lines (14 loc) 488 B
/** * * @param dateString - A date in string format * @param locale - A string depicting the locale * @param options - DateTimeFormatOptions * @returns A localized date * * @example * localizeDateString('1970-01-01', 'en-US') * // 'January 01, 1970' * localizeDateString('1970-01-01', 'en-US', { month: 'short' }) * // 'Jan 01, 1970' */ export declare const localizeDateString: (dateString: string, locale: string, options?: Intl.DateTimeFormatOptions) => string | undefined;