10 lines
352 B
TypeScript
10 lines
352 B
TypeScript
/**
|
|
* Stolen from @react-aria/i18n
|
|
*/
|
|
/**
|
|
* Provides localized string collation for the current locale. Automatically updates when the locale changes,
|
|
* and handles caching of the collator for performance.
|
|
* @param options - Collator options.
|
|
*/
|
|
export declare function useCollator(locale: string, options?: Intl.CollatorOptions): Intl.Collator;
|